Skip to content

Commit e95b564

Browse files
authored
Wait for circle to lighthouse (#209)
1 parent 64fde80 commit e95b564

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/artifact.yml

+4
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,16 @@ jobs:
1010
with:
1111
repo-token: ${{ secrets.GITHUB_TOKEN }}
1212
artifact-path: 0/html/index.html
13+
- name: Wait Until Site is Ready
14+
run: |
15+
curl --retry 10 --retry-connrefused --retry-max-time 60 ${{ steps.redirect.outputs.url }}
1316
- name: Run Lighthouse on Site
1417
id: lighthouse
1518
uses: foo-software/[email protected]
1619
with:
1720
urls: ${{ steps.redirect.outputs.url }}
1821
outputDirectory: /tmp/lighthouse
22+
verbose: true
1923
- name: Upload Lighthouse Reports
2024
uses: actions/upload-artifact@v2
2125
with:

0 commit comments

Comments
 (0)