Skip to content

Add makefile target for pushing all packages to build cache (#134) #45

Add makefile target for pushing all packages to build cache (#134)

Add makefile target for pushing all packages to build cache (#134) #45

Workflow file for this run

name: publish docs
on:
push:
branches:
- feature/docs
- master
permissions:
contents: write
jobs:
deploy:
if: github.repository == 'eth-cscs/stackinator'
runs-on: ubuntu-latest
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 --upgrade pip
- run: |
pip install mkdocs-material
- run: rm -rf site
- run: mkdocs gh-deploy --force
- run: mkdocs --version