We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd097ca commit 4b91420Copy full SHA for 4b91420
.github/workflows/daily-wpt-fyi.yml
@@ -96,16 +96,18 @@ jobs:
96
if-no-files-found: warn
97
- name: Upload WPT Report to wpt.fyi API
98
env:
99
- WPT_FYI_ENDPOINT: ${{ vars.WPT_FYI_ENDPOINT }}
100
WPT_FYI_USERNAME: ${{ vars.WPT_FYI_USERNAME }}
101
WPT_FYI_PASSWORD: ${{ secrets.WPT_FYI_PASSWORD }}
102
run: |
103
if [ -e out/wpt/wptreport.json ]; then
104
cd out/wpt
105
gzip wptreport.json
106
- curl \
107
- -u "$WPT_FYI_USERNAME:$WPT_FYI_PASSWORD" \
108
- -F "[email protected]" \
109
- -F "labels=master" \
110
- $WPT_FYI_ENDPOINT
+ for WPT_FYI_ENDPOINT in "https://wpt.fyi/api/results/upload" "https://staging.wpt.fyi/api/results/upload"
+ do
+ curl \
+ -u "$WPT_FYI_USERNAME:$WPT_FYI_PASSWORD" \
+ -F "[email protected]" \
+ -F "labels=master" \
111
+ $WPT_FYI_ENDPOINT
112
+ done
113
fi
0 commit comments