Skip to content

Commit

Permalink
Merge pull request #35 from Mind-Sports-Games/pla-979-fix-api-pipelin…
Browse files Browse the repository at this point in the history
…e-publish-documentation

update workflow to use github supported actions for githubpages
  • Loading branch information
JamesHeppell authored Sep 10, 2024
2 parents 1718fce + 9b8d088 commit e960206
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ on:
branches:
- master
jobs:
build:
deploy:
environment:
name: "github-pages"
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Check if organization member
Expand All @@ -32,7 +35,9 @@ jobs:
run_install: |
- recursive: false
- run: pnpm run doc && touch docs/.nojekyll
- uses: maxheld83/[email protected]
env:
BUILD_DIR: "docs/"
GH_PAT: ${{ secrets.GH_PAT }}
- uses: actions/configure-pages@v4
- uses: actions/upload-pages-artifact@v3
with:
path: docs
- uses: actions/deploy-pages@v4
id: deployment

0 comments on commit e960206

Please sign in to comment.