refactor: add sub back button url to radom checkout session request (… #1418
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
on: | |
push: | |
branches: | |
- master | |
- dev | |
- prod | |
name: Generalized Deployments | |
jobs: | |
push: | |
name: Invoke General Docker Build Pipeline | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df # v4.2.1 | |
with: | |
role-to-assume: ${{ secrets.GDBP_AWS_IAM_ROLE_ARN }} | |
aws-region: us-west-2 | |
- name: Override GITHUB_REF and thus ECR destination for master | |
run: echo "GITHUB_REF_OVERRIDE=refs/heads/dev" >> $GITHUB_ENV | |
if: ${{ github.ref == 'refs/heads/master' }} | |
- name: Generalized Deployments | |
uses: brave-intl/general-docker-build-pipeline-action@50a99c1f051b1d8e20ed79ded2e69ab3153b66e4 # v1.0.25 |