Build and Deploy Documentation Site #108
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 Site | |
| on: | |
| # Runs on pushes targeting the default branch | |
| push: | |
| branches: ["master", "main"] | |
| paths: | |
| - docs/** | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
| permissions: | |
| contents: read | |
| id-token: write | |
| # Allow one concurrent deployment | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Build documentation site and uploads it to Azure storage | |
| uses: bcc-code/bcc-documentation-base@v6 | |
| with: | |
| title: Documentation Guide | |
| description: Information on how to set up documentation for BCC projects | |
| authentication: "portal" |