diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 875605f..70e1c66 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,6 +23,7 @@ jobs: aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: ${{ env.AWS_REGION }} - run: | - echo "Deploying branch ${{ env.GITHUB_REF }} to ${{ github.event.inputs.environment }}" - commit_hash=`git rev-parse HEAD` - aws deploy create-deployment --application-name ${{ secrets.CODE_DEPLOY_APPLICATION_NAME }} --deployment-group-name ${{ secrets.CODE_DEPLOY_GROUP_NAME }} --github-location repository=$GITHUB_REPOSITORY,commitId=$commit_hash --ignore-application-stop-failures \ No newline at end of file + aws deploy create-deployment \ + --application-name ${{ secrets.CODE_DEPLOY_APPLICATION_NAME }} \ + --deployment-group-name ${{ secrets.CODE_DEPLOY_GROUP_NAME }} \ + --s3-location bucket=${{ secrets.S3_BUCKET_NAME }},bundleType=zip,key=app.zip \ No newline at end of file