Bump uuid and jest-junit (#1413) #769
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 to the build environment | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| check-core-iac-changes: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| core-iac-changed: ${{ steps.changes.outputs.core }} | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check for changes to core iac | |
| uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3 | |
| id: changes | |
| with: | |
| filters: | | |
| core: | |
| - 'iac/core/**' | |
| deploy-to-build: | |
| needs: [check-core-iac-changes] | |
| # These permissions are needed to interact with GitHub's OIDC Token endpoint (enabling the aws-actions/configure-aws-credentials action) | |
| permissions: | |
| id-token: write | |
| contents: read | |
| secrets: inherit | |
| uses: ./.github/workflows/deploy-to-aws.yml | |
| with: | |
| core-iac-changed: ${{ needs.check-core-iac-changes.outputs.core-iac-changed }} | |
| environment: BUILD |