Refine sequence diagrams and update participant labels #7
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 Architecture Docs | |
| on: | |
| push: | |
| # 1. ADD YOUR NEW BRANCH HERE | |
| branches: ["main", "final-docs"] | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: true | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| with: | |
| # 2. ADD THIS: Fetches all branches so the site generator can see them both | |
| fetch-depth: 0 | |
| - name: Generate Site via Docker | |
| run: | | |
| mkdir -p build/site | |
| docker run --rm -u $(id -u):$(id -g) -v ${{ github.workspace }}:/app -w /app \ | |
| ghcr.io/avisi-cloud/structurizr-site-generatr \ | |
| generate-site -w docs/diagrams/workspace.dsl \ | |
| --default-branch main \ | |
| --branches main,final-docs # 3. ADD YOUR NEW BRANCH HERE | |
| - name: Setup GitHub Pages | |
| uses: actions/configure-pages@v4 | |
| - name: Upload Artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: 'build/site' | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |