Skip to content

Commit 9334352

Browse files
authored
Merge pull request #47641 from Expensify/Rory-SleepBeforeVerifyWeb
[No QA] Add sleep before triggering web deploy verification
2 parents 2e796ad + 736c945 commit 9334352

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/platformDeploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ jobs:
334334
- name: Verify staging deploy
335335
if: ${{ !fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
336336
run: |
337+
sleep 5
337338
DOWNLOADED_VERSION="$(wget -q -O /dev/stdout https://staging.new.expensify.com/version.json | jq -r '.version')"
338339
if [[ '${{ github.event.release.tag_name }}' != "$DOWNLOADED_VERSION" ]]; then
339340
echo "Error: deployed version $DOWNLOADED_VERSION does not match local version ${{ github.event.release.tag_name }}. Something went wrong..."
@@ -343,6 +344,7 @@ jobs:
343344
- name: Verify production deploy
344345
if: ${{ fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
345346
run: |
347+
sleep 5
346348
DOWNLOADED_VERSION="$(wget -q -O /dev/stdout https://new.expensify.com/version.json | jq -r '.version')"
347349
if [[ '${{ github.event.release.tag_name }}' != "$DOWNLOADED_VERSION" ]]; then
348350
echo "Error: deployed version $DOWNLOADED_VERSION does not match local version ${{ github.event.release.tag_name }}. Something went wrong..."

0 commit comments

Comments
 (0)