Skip to content

Commit

Permalink
updated mkdocs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tomciardi committed Oct 28, 2024
1 parent f1ccca3 commit 6fbdfbf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,21 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: actions/cache@v2
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: ${{ github.ref }}
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: pip install mkdocstrings-python
- run: mkdocs gh-deploy --force
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
site_name: pointextract
site_url: https://cwru-sdle.github.io/pointextract/
site_url: https://cwru-sdle.github.io/pointextract
theme:
name: material
features:
Expand Down

0 comments on commit 6fbdfbf

Please sign in to comment.