Skip to content

Commit 0f9df47

Browse files
committed
style: parameters on newlines
1 parent a44303a commit 0f9df47

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

deploy.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ fi
3535

3636
# 3) Upload the deployment to S3, drop old archive.
3737
function getArchiveETag() {
38-
aws s3api head-object --bucket "$INPUT_S3_BUCKET" \
38+
aws s3api head-object \
39+
--bucket "$INPUT_S3_BUCKET" \
3940
--key "$INPUT_S3_FOLDER"/"$ZIP_FILENAME" \
4041
--query ETag --output text
4142
}
@@ -47,7 +48,8 @@ rm "$ZIP_FILENAME"
4748

4849
# 4) Start the CodeDeploy
4950
function getActiveDeployments() {
50-
aws deploy list-deployments --application-name "$INPUT_CODEDEPLOY_NAME" \
51+
aws deploy list-deployments \
52+
--application-name "$INPUT_CODEDEPLOY_NAME" \
5153
--deployment-group-name "$INPUT_CODEDEPLOY_GROUP" \
5254
--include-only-statuses "Queued" "InProgress" "Stopped" | jq -r '.deployments';
5355
}

0 commit comments

Comments
 (0)