Skip to content

chore(deps): update peaceiris/actions-gh-pages action to v4 #45

chore(deps): update peaceiris/actions-gh-pages action to v4

chore(deps): update peaceiris/actions-gh-pages action to v4 #45

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- source
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install poetry
run: |
pip3 install poetry
- name: Install dependencies
run: poetry install
- name: Generate
run: |
poetry run make publish
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/source' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output
publish_branch: master