Skip to content

Commit

Permalink
Update AWSCodeDeploy.md
Browse files Browse the repository at this point in the history
  • Loading branch information
begonaguereca authored May 17, 2023
1 parent 2d06450 commit 638ad2b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/bamboo/plugins/AWSCodeDeploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ Deploy:
## Transformed Github Action
```yaml
- uses: aws-actions/configure-aws-credentials@v2
with:
aws-region: us-west-1
aws-access-key-id: "${{ secrets.AWS_ACCESS_KEY_ID }}"
aws-secret-access-key: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
- run: |-
commit_hash=$(git rev-parse --short ${{ env.GITHUB_SHA }})
aws deploy create-deployment --application-name AppECS-begona_cluster-alt_service --deployment-group-name DgpECS-begona_cluster-alt_service --s3-location bucket=elasticbeanstalk-us-west-1-778232459879,key=${{ secrets.AWS_S3_BUCKET_KEY }},bundleType={{ env.BUNDLE_TYPE }} --github-location repository=$GITHUB_REPOSITORY,commitId=$commit_hash --ignore-application-stop-failures
Expand Down

0 comments on commit 638ad2b

Please sign in to comment.