diff --git a/.github/workflows/e2e-report.yml b/.github/workflows/e2e-report.yml index 24cb2bb0ca..23e11f694d 100644 --- a/.github/workflows/e2e-report.yml +++ b/.github/workflows/e2e-report.yml @@ -1,7 +1,7 @@ name: 'Deploy e2e test page' on: schedule: - - cron: '0 3 * * 3' # Run every Wednesday at 3am UTC + - cron: '0 6 * * 3' # Run every Wednesday at 6am UTC workflow_dispatch: inputs: use-branch: @@ -22,9 +22,9 @@ jobs: id: get-run-id run: | if [ "${{ inputs.use-branch }}" == "true" ]; then - E2E_RUN_ID=$(gh run list -w test-e2e.yml -e workflow_dispatch -b $GITHUB_REF_NAME --json databaseId --jq ".[0].databaseId" --repo $GITHUB_REPOSITORY) + E2E_RUN_ID=$(gh run list -w test-e2e.yml -e workflow_dispatch -s success -b $GITHUB_REF_NAME --json databaseId --jq ".[0].databaseId" --repo $GITHUB_REPOSITORY) else - E2E_RUN_ID=$(gh run list -w test-e2e.yml -e schedule --json databaseId --jq ".[0].databaseId" --repo $GITHUB_REPOSITORY) + E2E_RUN_ID=$(gh run list -w test-e2e.yml -e schedule -s success --json databaseId --jq ".[0].databaseId" --repo $GITHUB_REPOSITORY) fi echo "runId=$E2E_RUN_ID" >> $GITHUB_OUTPUT - name: Download latest e2e results