Merge pull request #365 from tors42/api-block-unblock #280
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 | |
- run: npm ci | |
- run: npm run build | |
- run: npm run bundle | |
- uses: actions/configure-pages@v3 | |
- uses: actions/upload-pages-artifact@v3 | |
with: | |
path: doc/public | |
- uses: actions/deploy-pages@v4 | |
id: deployment |