Skip to content

Commit

Permalink
Update docs deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
BernieWhite committed Nov 13, 2023
1 parent 1585349 commit 935e016
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
permissions: {}

jobs:
deploy:
publish:
name: Publish docs
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -43,5 +43,35 @@ jobs:
python3 -m pip install wheel
python3 -m pip install -r requirements-docs.txt
- name: Deploy site
- name: Generate site
run: mike deploy --push --update-aliases v3 latest --title 'v3'

deploy:
name: Deploy pages
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: [publish]
concurrency:
group: pages
cancel-in-progress: false
permissions:
contents: read
pages: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: refs/heads/gh-pages
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 935e016

Please sign in to comment.