Skip to content

Commit

Permalink
Updates to docs ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kylesomers committed May 30, 2024
1 parent 5747a5e commit ae50e4d
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ on:
- "docs/**"
- "mkdocs.yml"
- "CHANGELOG.md"
permissions:

permissions:
contents: write
pages: write

jobs:
deploy:
publish_docs:
runs-on: ubuntu-latest
environment: "Docs"
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
Expand All @@ -22,12 +26,5 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force

0 comments on commit ae50e4d

Please sign in to comment.