Skip to content

Clean up podcast template #715

Clean up podcast template

Clean up podcast template #715

Workflow file for this run

name: Zola
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/master'
steps:
- uses: actions/checkout@v4
- uses: shalzz/zola-deploy-action@master
env:
PAGES_BRANCH: gh-pages
BUILD_DIR: .
BUILD_ONLY: true
BUILD_FLAGS: --drafts
deploy:
name: Deploy
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
- uses: shalzz/zola-deploy-action@master
env:
PAGES_BRANCH: gh-pages
BUILD_DIR: .
TOKEN: ${{ secrets.TOKEN }}