Skip to content

Commit dc289e3

Browse files
author
Regan Maharjan
committed
revamp personal site
1 parent 205e12e commit dc289e3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
permissions:
13-
contents: read
13+
contents: write # Changed from 'read' to 'write' for gh-pages action
1414
pages: write
1515
id-token: write
1616

1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0 # Fetch all history for git operations
2022

2123
- name: Set up Node.js
2224
uses: actions/setup-node@v4
@@ -35,6 +37,7 @@ jobs:
3537
with:
3638
github_token: ${{ secrets.GITHUB_TOKEN }}
3739
publish_dir: ./
40+
cname: false
3841
exclude_assets: |
3942
.git
4043
.github
@@ -50,4 +53,5 @@ jobs:
5053
vite.config.ts
5154
vite-plugin-save-content.ts
5255
README.md
56+
deploy.js
5357

0 commit comments

Comments
 (0)