⬆️ fix: use latest zola-deploy-action

main
welpo 2 years ago
parent 7a4c153fe1
commit 19bd85f8db
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -1,18 +0,0 @@
name: Zola on GitHub Pages
on:
push:
branches:
- main
jobs:
build:
name: Publish site
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v3.0.0
- name: Build and deploy
uses: shalzz/zola-deploy-action@v0.17.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

@ -9,11 +9,10 @@ jobs:
- name: checkout - name: checkout
uses: actions/checkout@v3.0.0 uses: actions/checkout@v3.0.0
- name: build_and_deploy - name: build_and_deploy
uses: shalzz/zola-deploy-action@v0.17.2 uses: shalzz/zola-deploy-action@master
env: env:
# Target branch # Target branch
PAGES_BRANCH: gh-pages PAGES_BRANCH: gh-pages
# Provide personal access token # Provide personal access token
TOKEN: ${{ secrets.TOKEN }} TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Or if publishing to the same repo, use the automatic token BUILD_THEMES: false
#TOKEN: ${{ secrets.GITHUB_TOKEN }}

Loading…
Cancel
Save