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 <[email protected]>
  • Loading branch information
Norbert Kamiński committed Jul 26, 2023
1 parent d8d7e4b commit 3937886
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/seo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 with SEO Spy
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 3937886

Please sign in to comment.