Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

update lazy-lock

update lazy-lock #7

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install Poetry
env:
POETRY_VERSION: "1.4.0"
run: curl -sSL https://install.python-poetry.org | python -
- name: Setup Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
with:
python-version: '3.10.10'
cache: 'poetry'
cache-dependency-path: poetry.lock
- name: Install dependencies
run: poetry install
- run: poetry run mkdocs build
- name: Deploy
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site