mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-24 03:52:15 +00:00
modified actions
This commit is contained in:
@@ -7,12 +7,13 @@ jobs:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3.0.0
|
||||
uses: actions/checkout@v4
|
||||
- name: build_and_deploy
|
||||
uses: shalzz/zola-deploy-action@master
|
||||
uses: shalzz/zola-deploy-action@v0.17.2
|
||||
env:
|
||||
# Target branch
|
||||
PAGES_BRANCH: gh-pages
|
||||
# Provide personal access token
|
||||
TOKEN: ${{ secrets.TOKEN }}
|
||||
BUILD_THEMES: false
|
||||
# Or if publishing to the same repo, use the automatic token
|
||||
#TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user