Skip to content

Run all the example pipelines #1696

Run all the example pipelines

Run all the example pipelines #1696

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: build
uses: shalzz/zola-deploy-action@960304368c31a93d6991d64ae962df0786b905f1 # v0.19.2
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