diff --git a/.github/workflows/platformDeploy.yml b/.github/workflows/platformDeploy.yml index 9f81222898ad..83fa80a2cb73 100644 --- a/.github/workflows/platformDeploy.yml +++ b/.github/workflows/platformDeploy.yml @@ -334,6 +334,7 @@ jobs: - name: Verify staging deploy if: ${{ !fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }} run: | + sleep 5 DOWNLOADED_VERSION="$(wget -q -O /dev/stdout https://staging.new.expensify.com/version.json | jq -r '.version')" if [[ '${{ github.event.release.tag_name }}' != "$DOWNLOADED_VERSION" ]]; then echo "Error: deployed version $DOWNLOADED_VERSION does not match local version ${{ github.event.release.tag_name }}. Something went wrong..." @@ -343,6 +344,7 @@ jobs: - name: Verify production deploy if: ${{ fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }} run: | + sleep 5 DOWNLOADED_VERSION="$(wget -q -O /dev/stdout https://new.expensify.com/version.json | jq -r '.version')" if [[ '${{ github.event.release.tag_name }}' != "$DOWNLOADED_VERSION" ]]; then echo "Error: deployed version $DOWNLOADED_VERSION does not match local version ${{ github.event.release.tag_name }}. Something went wrong..."