Skip to content

Commit

Permalink
IAM roles edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohraf committed Aug 24, 2023
1 parent cdc6a8d commit 8cb5062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{ secrets.IAMROLE_GITHUB }}
role-to-assume: arn:aws:iam::201087200993:role/CodeDeployRoleforGitHub
role-session-name: GitHub-Action-Role
aws-region: ${{ env.AWS_REGION }}

Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
with:
role-to-assume: arn:aws:iam::201087200993:role/CodeDeployRoleforGitHub
role-session-name: GitHub-Action-Role
aws-region: ${{ env.AWS_REGION }}
aws-region: eu-west-1
- run: |
echo "Deploying branch ${{ env.GITHUB_REF }} to ${{ github.event.inputs.environment }}"
commit_hash=`git rev-parse HEAD`
Expand Down

0 comments on commit 8cb5062

Please sign in to comment.