Skip to content

Run all the example pipelines #1643

Run all the example pipelines

Run all the example pipelines #1643

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: build
uses: shalzz/zola-deploy-action@e4233e9a9fdc50632e17e42f06e647dc6c44bebd # v0.19.1
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