Fix about post

This commit is contained in:
2023-08-25 13:51:24 +03:00
parent b9adde6d23
commit a0f5b809e4

View File

@@ -1,31 +1,18 @@
name: Zola on GitHub Pages # On every push this script is executed
on: push
on: name: Build and deploy GH Pages
push:
branches: ["zola"]
permissions:
contents: read
pages: write
id-token: write
defaults:
run:
shell: bash
jobs: jobs:
build: build:
name: Publish site
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.ref == 'refs/heads/zola'
steps: steps:
- name: Checkout zola branch - 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@v0.17.2
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PAGES_BRANCH: gh-pages
PAGES_BRANCH: gh-pages TOKEN: ${{ secrets.GITHUB_TOKEN }}
# deploy: # deploy:
# environment: # environment:
# name: github-pages # name: github-pages