rendercv/.github/workflows/deploy-docs.yaml

26 lines
641 B
YAML
Raw Normal View History

2023-10-14 19:02:01 +00:00
name: build and deploy documentation
2023-09-10 17:36:13 +00:00
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.11
- 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: pip install mkdocs-material
2023-09-10 17:41:06 +00:00
- run: pip install mkdocstrings-python
2023-09-10 17:36:13 +00:00
- run: mkdocs gh-deploy --force