Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pwelter34 committed Jan 10, 2024
1 parent b36f08a commit 3ce9747
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:
contents: write

jobs:
deploy:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -29,5 +29,30 @@ jobs:
- name: Install mkdocs
run: pip install mkdocs-material

- name: Build
run: mkdocs gh-deploy --force
- name: Build Documentation
run: mkdocs build

- name: Upload Documentation
if: success()
uses: actions/upload-pages-artifact@v2
with:
name: github-pages
path: '/docs/site'

pages:
runs-on: ubuntu-latest
needs: build
if: success()

permissions:
pages: write
id-token: write

steps:
- name: Deploy Documentation
id: deployment
uses: actions/deploy-pages@v2

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

0 comments on commit 3ce9747

Please sign in to comment.