⬆️ fix: use latest zola-deploy-action
This commit is contained in:
parent
7a4c153fe1
commit
19bd85f8db
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@ -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 }}
|
7
.github/workflows/zolatogithubpages.yml
vendored
7
.github/workflows/zolatogithubpages.yml
vendored
@ -9,11 +9,10 @@ jobs:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3.0.0
|
||||
- name: build_and_deploy
|
||||
uses: shalzz/zola-deploy-action@v0.17.2
|
||||
uses: shalzz/zola-deploy-action@master
|
||||
env:
|
||||
# Target branch
|
||||
PAGES_BRANCH: gh-pages
|
||||
# Provide personal access token
|
||||
TOKEN: ${{ secrets.TOKEN }}
|
||||
# Or if publishing to the same repo, use the automatic token
|
||||
#TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
BUILD_THEMES: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user