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 3dee6d0
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/seo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,9 @@ 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'
npm install postcss-cli
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 @@ -90,8 +86,9 @@ jobs:

- name: Serve site
run: |
hugo serve -b http://localhost:1313 --bind=0.0.0.0 &
sleep 10
npm install postcss-cli
hugo
hugo serve --contentDir public -b http://localhost:1313 --bind=0.0.0.0 &
- name: Check canonical links
uses: 3mdeb/seo-spy-action@main
Expand Down

0 comments on commit 3dee6d0

Please sign in to comment.