Sith/.github/workflows/deploy_docs.yml

21 lines
510 B
YAML
Raw Permalink Normal View History

2024-07-16 16:39:54 +00:00
name: deploy_docs
on:
push:
branches:
- master
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
2024-09-02 10:42:27 +00:00
- uses: actions/checkout@v4
2024-07-16 16:39:54 +00:00
- uses: ./.github/actions/setup_project
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: poetry run mkdocs gh-deploy --force