Redirect to error page instead of returning server error code #44
Workflow file for this run
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 quex | |
| on: | |
| push: | |
| paths-ignore: | |
| - ".github/workflows/deploy.yml" | |
| # See "if:" below | |
| # branches: | |
| # - main | |
| jobs: | |
| build: | |
| # There is currently no way to combine event triggers "if branch is main AND file is changed" | |
| if: github.ref_name == 'main' | |
| uses: ./.github/workflows/build-docker.yml | |
| permissions: | |
| packages: write | |
| contents: read | |
| attestations: write | |
| id-token: write | |
| with: | |
| image_name: ${{ github.repository }} | |
| deploy: | |
| needs: build | |
| uses: ./.github/workflows/deploy.yml |