Skip to content

Fully implement secrets for docker deployment #24

Fully implement secrets for docker deployment

Fully implement secrets for docker deployment #24

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
paths:
- 'docs/**'
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docs
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- 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=="9.*"
- run: mkdocs gh-deploy --force