File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77jobs :
88 build-check :
99 runs-on : ubuntu-latest
10+ env :
11+ GDAL_HTTP_MAX_RETRY : 5
12+ GDAL_HTTP_RETRY_DELAY : 2
1013 steps :
1114 - name : Check out repository
1215 uses : actions/checkout@v4
3437 python3 -m pip install jupyter jupyter-cache
3538
3639 - name : Build Quarto Project
37- run : quarto render
40+ run : |
41+ # Retry Quarto rendering up to 3 times to handle transient 504 redirect errors
42+ for i in {1..3}; do
43+ if quarto render; then
44+ exit 0
45+ fi
46+ echo "Quarto render failed (attempt $i/3), retrying in 10 seconds..."
47+ sleep 10
48+ done
49+ exit 1
Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111 permissions :
1212 contents : write
13+ env :
14+ GDAL_HTTP_MAX_RETRY : 5
15+ GDAL_HTTP_RETRY_DELAY : 2
1316 steps :
1417 - name : Check out repository
18+
1519 uses : actions/checkout@v4
1620
1721 - name : Set up Quarto
You can’t perform that action at this time.
0 commit comments