Skip to content

Bump peaceiris/actions-gh-pages from 3 to 4 in the actions group #30

Bump peaceiris/actions-gh-pages from 3 to 4 in the actions group

Bump peaceiris/actions-gh-pages from 3 to 4 in the actions group #30

Workflow file for this run

name: GitHub Pages
on:
workflow_dispatch:
pull_request:
push:
branches:
- main # Set a branch name to trigger deployment
- 13-docs-cicd
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: "ubuntu-latest"
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Install python packages
uses: ./.github/actions/install_requirements
- name: Build
run: nox -s docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html
publish_branch: gh-pages