Build and Deploy Documentation #20
This file contains hidden or 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: Build and Deploy Documentation | |
| on: | |
| workflow_dispatch: | |
| # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | |
| # However, cancel in-progress runs to ensure only the latest commit is deployed, and avoid multiple deployments in case of several commits in a short time. | |
| concurrency: | |
| group: >- | |
| ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-deploy: | |
| uses: fchastanet/my-documents/.github/workflows/build-site-action.yml@master | |
| with: | |
| site-name: "bash-compiler" | |
| checkout-repo: "fchastanet/bash-compiler" | |
| site-dir: "_site-content" | |
| secrets: inherit | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write |