File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 - name : Download Destroylist
1313 run : curl -O https://phishdestroy.github.io/destroylist/destroylist.txt
1414
15- - name : Download Published Site Content
16- run : curl -sSL https://universalbit-dev.github.io/CityGenerator/ > deployed_site.html
15+ - name : Wait for deployed site and download content
16+ run : |
17+ EXPECTED='CityGenerator' # Change if there's a better unique string in your main page
18+ for i in {1..5}; do
19+ curl -sSL https://universalbit-dev.github.io/CityGenerator/ > deployed_site.html
20+ if grep -q "$EXPECTED" deployed_site.html; then
21+ echo "Found expected content in deployed site."
22+ break
23+ else
24+ echo "Expected content not found, waiting 15 seconds before retrying... (attempt $i/5)"
25+ sleep 15
26+ fi
27+ done
1728
1829 - name : Scan deployed site for phishing blocklist entries
1930 run : |
You can’t perform that action at this time.
0 commit comments