Skip to content

Merge pull request #75 from NERSC/mock #34

Merge pull request #75 from NERSC/mock

Merge pull request #75 from NERSC/mock #34

Workflow file for this run

name: mkdocs
on:
push:
branches:
- main
tags:
- "*"
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: actions/cache@v4
with:
key: mkdocs-${{ github.ref }}
path: .cache
restore-keys: |
mkdocs-
- run: pip install .[docs]
- run: mkdocs build
- run: mkdocs gh-deploy --force