Update zola.yml
This commit is contained in:
parent
17faed9b06
commit
30dc4ddce8
4
.github/workflows/zola.yml
vendored
4
.github/workflows/zola.yml
vendored
@ -4,12 +4,12 @@ name: Build and deploy GH Pages
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/master'
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: build_and_deploy
|
- name: build_and_deploy
|
||||||
uses: shalzz/zola-deploy-action@v0.17.2
|
uses: shalzz/zola-deploy-action@v0.19.1
|
||||||
env:
|
env:
|
||||||
# Target branch
|
# Target branch
|
||||||
PAGES_BRANCH: gh-pages
|
PAGES_BRANCH: gh-pages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user