File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -85,15 +85,15 @@ jobs:
8585 echo "SERVICE_NAME: $SERVICE_NAME"
8686
8787 # Replace placeholders in the JSON file
88- sed -e "s;%BUILD_NUMBER%;${{ github.run_number }};g" -e "s;%REPOSITORY_URI%;${REPOSITORY_URI};g" taskdef/qa-credo-service.json > ${GITHUB_WORKSPACE}/${NAME}-v_${{ github.run_number }}.json
88+ sed -e "s;%BUILD_NUMBER%;${{ github.run_number }};g" -e "s;%REPOSITORY_URI%;${REPOSITORY_URI};g" taskdef/qa-credo-service.json > " ${GITHUB_WORKSPACE}/${NAME}-v_${{ github.run_number }}.json"
8989
9090 # Debug: Print the content of the modified JSON file
91- cat ${GITHUB_WORKSPACE}/${NAME}-v_${{ github.run_number }}.json
91+ cat " ${GITHUB_WORKSPACE}/${NAME}-v_${{ github.run_number }}.json"
9292
9393 # Register the task definition using the modified JSON file
94- aws ecs register-task-definition --family ${FAMILY} --cli-input-json file://${GITHUB_WORKSPACE}/${NAME}-v_${{ github.run_number }}.json --region ${{ env.AWS_REGION }}
94+ aws ecs register-task-definition --family " ${FAMILY}" --cli-input-json file://" ${GITHUB_WORKSPACE}/${NAME}-v_${{ github.run_number }}.json" --region " ${{ env.AWS_REGION }}"
9595
96- SERVICE_INFO=$(aws ecs describe-services --services ${SERVICE_NAME} --cluster ${CLUSTER} --region ap-southeast-1)
96+ SERVICE_INFO=$(aws ecs describe-services --services " ${SERVICE_NAME}" --cluster " ${CLUSTER}" --region ap-southeast-1)
9797
9898 # Check if the service exists
9999 if [ -z "$SERVICE_INFO" ]; then
You can’t perform that action at this time.
0 commit comments