Skip to content

Update config.toml

Update config.toml #23

Workflow file for this run

name: Zola on GitHub Pages
on:
push:
branches:
- main
pull_request:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/main'
steps:
- name: Checkout main
uses: actions/[email protected]
- name: Build only
uses: highb/zola-deploy-action@master
env:
BUILD_ONLY: true
BUILD_FLAGS: --drafts
PAGES_BRANCH: gh-pages
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build_and_deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout main
uses: actions/[email protected]
- name: Build and deploy
uses: highb/zola-deploy-action@master
env:
PAGES_BRANCH: gh-pages
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}