Skip to content

Commit

Permalink
Update broken-links.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
gallacher authored May 21, 2024
1 parent e567cc9 commit d02ab41
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/broken-links.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,15 @@ jobs:
npm install -D --save postcss-cli
npm install -D --save postcss
hugo server --bind 127.0.0.1 &
- name: curl
uses: sozo-design/[email protected]
with:
args: --head -X GET --retry 50 --retry-connrefused --retry-delay 10 http://127.0.0.1:1313/csm-docs/
- name: wget
uses: wei/wget@v1
with:
args: --spider -o spider.log -e robots=off -rp http://127.0.0.1:1313/csm-docs/
- name: Install curl and wget
run: |
sudo apt-get install -y curl
sudo apt-get install -y wget
- name: Wait for Hugo server
run: curl --head -X GET --retry 5 --retry-connrefused --retry-delay 10 http://127.0.0.1:1313/csm-docs/
- name: Run wget spider
run: |
wget --spider -o spider.log -e robots=off -rp http://127.0.0.1:1313/csm-docs/
- name: Output logs
run: |
cat spider.log
Expand Down

0 comments on commit d02ab41

Please sign in to comment.