Skip to content

Commit

Permalink
seo.yml: Wait server to avoid race condition
Browse files Browse the repository at this point in the history
Signed-off-by: Norbert Kamiński <[email protected]>
  • Loading branch information
Norbert Kamiński committed Aug 4, 2023
1 parent ecef6a6 commit d6528ad
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/seo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,8 @@ jobs:

- name: Serve site
run: |
hugo serve -b http://localhost:1313 --bind=0.0.0.0 &
sleep 10
- name: Check orphan pages
uses: 3mdeb/seo-spy-action@main
with:
domain: 'http://localhost:1313'
hugo
hugo serve --contentDir public -b http://localhost:1313 --bind=0.0.0.0 &
seo_spy_canonical_links:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -91,7 +86,7 @@ jobs:
- name: Serve site
run: |
hugo serve -b http://localhost:1313 --bind=0.0.0.0 &
sleep 10
./scripts/wait_server.py
- name: Check canonical links
uses: 3mdeb/seo-spy-action@main
Expand Down

0 comments on commit d6528ad

Please sign in to comment.