Skip to content

Remove fontawesome-markdown, no longer needed #20

Remove fontawesome-markdown, no longer needed

Remove fontawesome-markdown, no longer needed #20

Workflow file for this run

name: Deploy Document
on:
push:
branches: [ master ]
pull_request:
jobs:
deploy_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Set up Poetry 1.6.1
uses: abatilo/[email protected]
with:
poetry-version: 1.6.1
- name: Restore & Cache Poetry and Dependences
uses: actions/cache@v3
id: poetry-cache
with:
path: |
~/.poetry
~/.cache/pypoetry
key: ${{ hashFiles('docs/poetry.lock') }}
- name: poetry install
if: steps.poetry-cache.outputs.cache-hit != 'true'
run: poetry install --no-root
working-directory: docs
- name: Build Document
run: |
poetry run mkdocs build
working-directory: docs
- name: Deploy to GitHub Pages
if: github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/site