Skip to content

New Podcast Episode: Oxide with Steve Klabnik (#51) #727

New Podcast Episode: Oxide with Steve Klabnik (#51)

New Podcast Episode: Oxide with Steve Klabnik (#51) #727

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 }}