chore(deps-dev): bump the all group with 2 updates (#204) #99
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish docs | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
concurrency: | |
group: pages | |
cancel-in-progress: false | |
permissions: | |
contents: write | |
id-token: write | |
pages: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
POETRY_VIRTUALENVS_CREATE: "false" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install poetry | |
run: curl -sSL https://install.python-poetry.org | python - | |
- name: Install dependencies | |
run: ~/.local/bin/poetry install | |
- name: Build docs | |
run: ~/.local/bin/poetry run poe docs | |
- name: Setup Pages | |
id: pages | |
uses: actions/configure-pages@v3 | |
- name: Upload pages artifact | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
path: ./public | |
deploy: | |
needs: build | |
runs-on: ubuntu-latest | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- name: Deploy to Github pages | |
id: deployment | |
uses: actions/deploy-pages@v2 |