modified actions

This commit is contained in:
2024-04-12 20:16:23 +03:00
parent e6e63a9dfa
commit bf32413140
2 changed files with 4 additions and 247 deletions
+4 -3
View File
@@ -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 }}