Merge pull request #405 from SergioGlorias/update-dep #332
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish documentation | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
concurrency: | |
group: pages | |
cancel-in-progress: true | |
jobs: | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: doc | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
package_json_file: doc/package.json | |
run_install: true | |
- run: pnpm build | |
- run: pnpm bundle | |
- uses: actions/configure-pages@v3 | |
- uses: actions/upload-pages-artifact@v3 | |
with: | |
path: doc/public | |
- uses: actions/deploy-pages@v4 | |
id: deployment |