diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bcbc649..e6916f8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 }} @@ -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`