Skip to content

Commit

Permalink
Update initiaterelease.yml hozkaya fork
Browse files Browse the repository at this point in the history
  • Loading branch information
hozkaya2000 authored Sep 5, 2024
1 parent 12f9067 commit 31fb546
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/initiaterelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AMI_GENERATE_CONFIG_ROLE }}
role-to-assume: ${{ secrets.AMI_TESTING_ROLE }}
aws-region: us-west-2
- name: Configure Bot Alias
run: |
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{secrets.AMI_MIRROR_ROLE}}
role-to-assume: ${{secrets.AMI_TESTING_ROLE}}
aws-region: us-west-2
- name: Delete shinkansen branch on codecommit repository
run: |
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{secrets.AMI_MIRROR_ROLE}}
role-to-assume: ${{secrets.AMI_TESTING_ROLE}}
aws-region: us-west-2
- name: Failure Scenario
if: ${{ needs.GenerateConfig.result == 'failure' || needs.PushToCodeCommit.result == 'failure' }}
Expand All @@ -130,4 +130,4 @@ jobs:
run: aws cloudwatch put-metric-data --metric-name EcsAmiGithubActionStatus --namespace ECSAMIRelease --value 1
- name: No Release Scenario
if: ${{ needs.GenerateConfig.result == 'success' && needs.PushToCodeCommit.result == 'skipped' }}
run: aws cloudwatch put-metric-data --metric-name EcsAmiGithubActionStatus --namespace ECSAMIRelease --value 0
run: aws cloudwatch put-metric-data --metric-name EcsAmiGithubActionStatus --namespace ECSAMIRelease --value 0

0 comments on commit 31fb546

Please sign in to comment.