Skip to content

Commit ba2b0c3

Browse files
authored
fix grep to handle spaces (#53)
1 parent 518ef3a commit ba2b0c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nginx.org-make-aws.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184
S3="s3://${{ inputs.s3_bucket }}/${{ steps.vars.outputs.safe_repo }}/staging/${GITHUB_SHA}/.deployed.txt"
185185
for i in $(seq 1 10); do
186186
if aws s3 cp "$S3" .staging.marker --only-show-errors; then
187-
grep -q '^sha=' .staging.marker && grep -q '^env=staging' .staging.marker && exit 0 || true
187+
grep -q 'sha=' .staging.marker && grep -q 'env=staging' .staging.marker && exit 0 || true
188188
fi
189189
sleep 10
190190
done

0 commit comments

Comments
 (0)