Skip to content

Update flake.lock

Update flake.lock #591

Workflow file for this run

name: Build Docs
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
POETRY_HOME: /opt/poetry
POETRY_CONFIG_DIR: /opt/poetry
POETRY_VIRTUALENVS_PATH: /opt/poetry/store
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Load Poetry cache
id: poetry-cache
uses: actions/cache@v3
with:
path: ${{ env.POETRY_HOME }}
key: ${{ runner.os }}-3.9-${{ hashFiles('./pyproject.toml') }}-${{ hashFiles('./poetry.lock') }}
- name: Build documentation
run: make docs
- name: Archive build artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ format('docs-{0}', github.sha) }}
path: site
retention-days: 60
- name: Deploy to Netlify
uses: nwtgck/[email protected]
with:
publish-dir: site
production-deploy: false
github-token: ${{ secrets.GITHUB_TOKEN }}
enable-commit-comment: false
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}