Skip to content

Commit

Permalink
Merge pull request #344 from dansiegel/dev/ds/docs-fix
Browse files Browse the repository at this point in the history
Update docs build
  • Loading branch information
dansiegel authored Sep 18, 2024
2 parents 2089649 + 232fa37 commit 8c9563a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- master
paths:
- ".github/workflows/gh-pages.yml"
- "docs/**"
- "theme/**"
- mkdocs.yml
Expand All @@ -13,12 +14,12 @@ jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: '3.10'

- name: Upgrade pip
run: |
Expand All @@ -30,7 +31,7 @@ jobs:
run: echo "::set-output name=dir::$(pip cache dir)"

- name: Cache dependencies
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
Expand All @@ -45,8 +46,8 @@ jobs:
- run: mkdocs build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./site
publish_branch: gh-pages
publish_branch: gh-pages

0 comments on commit 8c9563a

Please sign in to comment.