Skip to content

Merge pull request #20 from get-salt-AI/new-docs-theme-and-content #75

Merge pull request #20 from get-salt-AI/new-docs-theme-and-content

Merge pull request #20 from get-salt-AI/new-docs-theme-and-content #75

Workflow file for this run

name: publish
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
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 \
mkdocs-material \
mkdocs-material[imaging] \
Pillow \
cairosvg \
mkdocs-awesome-pages-plugin \
- run: mkdocs gh-deploy --force