Skip to content

Commit 6fbcef3

Browse files
author
hokkaydo
committed
fix deploy
1 parent e731431 commit 6fbcef3

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/deploy.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ jobs:
1414
- uses: actions/checkout@v2 # This action checks out your repository
1515
- name: Run gen_static.sh script
1616
run: sh gen_static.sh
17-
- name: Git fetch all
18-
run: git fetch --all
1917
- name: Build and Deploy
20-
uses: JamesIves/github-pages-deploy-action@v4
18+
uses: JamesIves/github-pages-deploy-action@v4.6.4
2119
with:
22-
branch: gh-pages # The branch the action should deploy to.
23-
folder: static # The folder the action should deploy.
24-
# You can specify additional configuration here as needed.
20+
token: ${{ secrets.GITHUB_TOKEN }}
21+
branch: gh-pages
22+
folder: static
23+
clean: true

0 commit comments

Comments
 (0)