File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Deploy e2e test page'
2
+ on :
3
+ workflow_dispatch :
4
+
5
+ env :
6
+ NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_AUTH_TOKEN }}
7
+ NETLIFY_SITE_ID : ${{ secrets.E2E_PAGE_SITE_ID }}
8
+
9
+ jobs :
10
+ setup :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Get run id
14
+ id : get-run-id
15
+ run : |
16
+ E2E_RUN_ID='gh run list -w test-e2e.yml -e schedule --json databaseId --jq ".[0].databaseId"'
17
+ echo "runId=$E2E_RUN_ID" >> $GITHUB_OUTPUT
18
+ - name : Download latest e2e results
19
+ run : |
20
+ echo "Downloading latest test results from run https://github.com/netlify/next-runtime-minimal/actions/runs/${{ steps.get-run-id.outputs.runId }}"
21
+ gh run download ${{ steps.get-run-id.outputs.runId }} -n "latest-test-results.json" -D e2e-report/data/
22
+ - name : Deploy e2e page
23
+ if : success()
24
+ run : |
25
+ ntl deploy --build --cwd e2e-report
You can’t perform that action at this time.
0 commit comments