Skip to content

Commit 901ebd3

Browse files
committed
update gh action script
1 parent d6135c1 commit 901ebd3

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ jobs:
99
if: github.ref == 'refs/heads/main'
1010
steps:
1111
- name: checkout
12-
uses: actions/checkout@v3.0.0
13-
- name: build_and_deploy
14-
uses: shalzz/zola-deploy-action@v0.17.2
12+
uses: actions/checkout@v4.0.0
13+
- name: Build and deploy
14+
uses: shalzz/zola-deploy-action@v0.20.0
1515
env:
1616
# Target branch
1717
PAGES_BRANCH: gh-pages
18-
# Provide personal access token
19-
#TOKEN: ${{ secrets.TOKEN }}
2018
# Or if publishing to the same repo, use the automatic token
2119
TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)