Skip to content

Commit f08d70d

Browse files
committed
fix eof
1 parent 0b2309a commit f08d70d

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,13 @@ jobs:
134134
- name: Upload staging markers (.deployed.txt)
135135
run: |
136136
TIMESTAMP="$(date -u +"%Y-%m-%dT%H:%M:%SZ")"
137-
cat > .deployed.txt <<EOF
138-
sha=${GITHUB_SHA}
139-
env=staging
140-
ts=${TIMESTAMP}
141-
actor=${GITHUB_ACTOR}
142-
repo=${GITHUB_REPOSITORY}
143-
EOF
137+
cat > .deployed.txt <<-EOF
138+
sha=${GITHUB_SHA}
139+
env=staging
140+
ts=${TIMESTAMP}
141+
actor=${GITHUB_ACTOR}
142+
repo=${GITHUB_REPOSITORY}
143+
EOF
144144
aws s3 cp .deployed.txt \
145145
s3://${{ inputs.s3_bucket }}/${{ steps.vars.outputs.safe_repo }}/staging/${GITHUB_SHA}/.deployed.txt
146146
aws s3 cp .deployed.txt \
@@ -201,13 +201,13 @@ EOF
201201
- name: Upload prod marker (.deployed.txt)
202202
run: |
203203
TIMESTAMP="$(date -u +"%Y-%m-%dT%H:%M:%SZ")"
204-
cat > .deployed.txt <<EOF
205-
sha=${GITHUB_SHA}
206-
env=prod
207-
ts=${TIMESTAMP}
208-
actor=${GITHUB_ACTOR}
209-
repo=${GITHUB_REPOSITORY}
210-
EOF
204+
cat > .deployed.txt <<-EOF
205+
sha=${GITHUB_SHA}
206+
env=prod
207+
ts=${TIMESTAMP}
208+
actor=${GITHUB_ACTOR}
209+
repo=${GITHUB_REPOSITORY}
210+
EOF
211211
aws s3 cp .deployed.txt \
212212
s3://${{ inputs.s3_bucket }}/${{ steps.vars.outputs.safe_repo }}/prod/.deployed.txt
213213

0 commit comments

Comments
 (0)