File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -96,16 +96,18 @@ jobs:
96
96
if-no-files-found : warn
97
97
- name : Upload WPT Report to wpt.fyi API
98
98
env :
99
- WPT_FYI_ENDPOINT : ${{ vars.WPT_FYI_ENDPOINT }}
100
99
WPT_FYI_USERNAME : ${{ vars.WPT_FYI_USERNAME }}
101
100
WPT_FYI_PASSWORD : ${{ secrets.WPT_FYI_PASSWORD }}
102
101
run : |
103
102
if [ -e out/wpt/wptreport.json ]; then
104
103
cd out/wpt
105
104
gzip wptreport.json
106
- curl \
107
- -u "$WPT_FYI_USERNAME:$WPT_FYI_PASSWORD" \
108
-
109
- -F "labels=master" \
110
- $WPT_FYI_ENDPOINT
105
+ for WPT_FYI_ENDPOINT in "https://wpt.fyi/api/results/upload" "https://staging.wpt.fyi/api/results/upload"
106
+ do
107
+ curl \
108
+ -u "$WPT_FYI_USERNAME:$WPT_FYI_PASSWORD" \
109
+
110
+ -F "labels=master" \
111
+ $WPT_FYI_ENDPOINT
112
+ done
111
113
fi
You can’t perform that action at this time.
0 commit comments