Scope Azure discovery to the requested subscription #79
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: Deploy Documentation | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'docs/**' | |
| - 'mkdocs.yml' | |
| workflow_dispatch: | |
| # Serialise all Pages deployments for this repo so push-to-main events | |
| # can never race each other. cancel-in-progress: false queues the second run rather | |
| # than cancelling it, which prevents missed deployments. | |
| concurrency: | |
| group: pages | |
| cancel-in-progress: false | |
| # Reusable workflow needs pages:write + id-token:write for actions/deploy-pages@v4. | |
| # Caller must grant these explicitly or the run fails during startup validation. | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| jobs: | |
| docs: | |
| uses: AzureLocal/platform/.github/workflows/reusable-mkdocs-deploy.yml@main | |
| with: | |
| pip-packages: 'mkdocs-material mkdocs-drawio' |