fix(security): valideer initiële state bij create + consistente SVG-w… #13
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 acceptatie | |
| # Every push to main builds the containers and updates the ZAD "acceptatie" | |
| # deployment. Production follows from a CalVer tag (see deploy-productie.yaml), | |
| # which promotes the image built here without rebuilding. | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| packages: write | |
| pull-requests: write | |
| concurrency: | |
| group: deploy-acceptatie | |
| cancel-in-progress: false | |
| env: | |
| PROJECT_ID: asses-k2n | |
| DEPLOYMENT_NAME: acceptatie | |
| jobs: | |
| build: | |
| permissions: | |
| contents: read | |
| packages: write | |
| security-events: write | |
| uses: ./.github/workflows/_build-images.yaml | |
| with: | |
| frontend-image: ghcr.io/minbzk/par-dpia-form/dev/frontend | |
| backend-image: ghcr.io/minbzk/par-dpia-form/dev/backend | |
| tag-latest: true | |
| deploy: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| environment: | |
| name: acceptatie | |
| url: https://acceptatie-asses-k2n.rijksapp.dev/ | |
| steps: | |
| - name: Deploy to ZAD | |
| uses: RijksICTGilde/zad-actions/deploy@ea7dec7d0df396741cdfb4f393090b170056dd19 # v4.0.5 | |
| with: | |
| api-key: ${{ secrets.ZAD_API_KEY }} | |
| project-id: ${{ env.PROJECT_ID }} | |
| deployment-name: ${{ env.DEPLOYMENT_NAME }} | |
| wait-for-ready: 'true' | |
| health-endpoint: /api/health | |
| components: >- | |
| [ | |
| {"name": "frontend", "image": "${{ needs.build.outputs.frontend-image }}"}, | |
| {"name": "api", "image": "${{ needs.build.outputs.backend-image }}"} | |
| ] |