Skip to content

Commit

Permalink
seo.yml: Create canonical links check
Browse files Browse the repository at this point in the history
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
  • Loading branch information
Norbert Kamiński committed Jul 26, 2023
1 parent d8d7e4b commit 5b9d124
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/seo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
args: --max-redirects 10 -a 403,500,503 .
seo_spy_orphan_pages:
runs-on: ubuntu-latest
name: Check orphan pages with SEO Spy
name: Check orphan pages
steps:
- name: Checkout repo
uses: actions/checkout@v3
Expand All @@ -47,3 +47,31 @@ jobs:
uses: 3mdeb/seo-spy-action@main
with:
domain: 'http://127.0.0.1:8000'
seo_spy_canonical_links:
runs-on: ubuntu-latest
name: Check canonical links
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Checkout SEO Spy
uses: actions/checkout@v3
with:
repository: 3mdeb/seo-spy
path: seo-spy
- uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r seo-spy/requirements.txt
pip install -r requirements.txt
- name: Serve site
run: |
mkdocs serve &
sleep 15
- name: Check canonical links
uses: 3mdeb/seo-spy-action@main
with:
domain: 'http://127.0.0.1:8000'
args: '-c'

0 comments on commit 5b9d124

Please sign in to comment.