Revert "[SELC-6431] feat: add new role ADMIN_EA_IO" (#506) #153
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: Release - PNPG dashboard-backend | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - releases/* | |
| paths: | |
| - 'app/**' | |
| - 'connector/**' | |
| - 'connector-api/**' | |
| - 'core/**' | |
| - 'infra/**' | |
| - 'web/**' | |
| - 'pom.xml' | |
| workflow_dispatch: | |
| inputs: | |
| env: | |
| type: choice | |
| description: Environment | |
| options: | |
| - dev | |
| - uat | |
| - prod | |
| jobs: | |
| release_dev: | |
| uses: pagopa/selfcare-commons/.github/workflows/call_release_docker.yml@main | |
| name: '[Dev] DashboardBackend Release' | |
| if: ${{ (startsWith(github.ref_name, 'releases/') != true && inputs.env == null) || inputs.env == 'dev' }} | |
| secrets: inherit | |
| with: | |
| environment: dev | |
| tf_environment: dev-pnpg | |
| dir: 'infra/container_apps' | |
| release_uat: | |
| uses: pagopa/selfcare-commons/.github/workflows/call_release_docker.yml@main | |
| name: '[UAT] DashboardBackend Release' | |
| if: ${{ (startsWith(github.ref_name, 'releases/') == true && inputs.env == null) || inputs.env == 'uat' }} | |
| secrets: inherit | |
| with: | |
| environment: uat | |
| tf_environment: uat-pnpg | |
| dir: 'infra/container_apps' | |
| release_prod: | |
| uses: pagopa/selfcare-commons/.github/workflows/call_release_docker.yml@main | |
| name: '[Prod] DashboardBackend Release' | |
| if: ${{ inputs.env == 'prod' }} | |
| secrets: inherit | |
| with: | |
| environment: prod | |
| tf_environment: prod-pnpg | |
| dir: 'infra/container_apps' |