Skip to content

Commit 70244ae

Browse files
committed
💚 fix: write permission & updated gh-pages deploy action to v4
1 parent e048a98 commit 70244ae

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
workflow_dispatch:
55
push:
66
branches: [site]
7+
permissions:
8+
contents: write
79
jobs:
810
deploy:
911
runs-on: ubuntu-latest
@@ -16,8 +18,7 @@ jobs:
1618
- run: npm install --legacy-peer-deps
1719
- run: npx nuxt build --preset github_pages
1820
- name: GitHub Pages 🚀
19-
uses: JamesIves/github-pages-deploy-action@releases/v3
21+
uses: JamesIves/github-pages-deploy-action@v4
2022
with:
21-
ACCESS_TOKEN: ${{ secrets.CI }}
22-
BRANCH: gh-pages
23-
FOLDER: .output/public
23+
branch: gh-pages
24+
folder: .output/public

0 commit comments

Comments
 (0)