We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a44303a commit 0f9df47Copy full SHA for 0f9df47
deploy.sh
@@ -35,7 +35,8 @@ fi
35
36
# 3) Upload the deployment to S3, drop old archive.
37
function getArchiveETag() {
38
- aws s3api head-object --bucket "$INPUT_S3_BUCKET" \
+ aws s3api head-object \
39
+ --bucket "$INPUT_S3_BUCKET" \
40
--key "$INPUT_S3_FOLDER"/"$ZIP_FILENAME" \
41
--query ETag --output text
42
}
@@ -47,7 +48,8 @@ rm "$ZIP_FILENAME"
47
48
49
# 4) Start the CodeDeploy
50
function getActiveDeployments() {
- aws deploy list-deployments --application-name "$INPUT_CODEDEPLOY_NAME" \
51
+ aws deploy list-deployments \
52
+ --application-name "$INPUT_CODEDEPLOY_NAME" \
53
--deployment-group-name "$INPUT_CODEDEPLOY_GROUP" \
54
--include-only-statuses "Queued" "InProgress" "Stopped" | jq -r '.deployments';
55
0 commit comments