Skip to content

Bump shalzz/zola-deploy-action from 0.19.2 to 0.20.0 #1791

Bump shalzz/zola-deploy-action from 0.19.2 to 0.20.0

Bump shalzz/zola-deploy-action from 0.19.2 to 0.20.0 #1791

Workflow file for this run

---
name: docs
on:
pull_request:
types:
- opened
- synchronize
- reopened
paths:
- ".github/**"
- "docs/**"
push:
branches:
- main
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: build
uses: shalzz/zola-deploy-action@c34a7626cd84c9c90499afeb310070ea838a8d1a # v0.20.0
env:
BUILD_DIR: docs
BUILD_ONLY: true
- name: Deploy
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/public