2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-06-15 03:25:32 +00:00

Feat/check links (#125)

* always run CI, check for html errors

* fix links

* switch a tags to div

* add alt text

* fix internal links

* remove unneeded example section

* remove legacy section

* update requirements

* test more

* fix flag
This commit is contained in:
Matthias Mair
2023-02-01 00:17:59 +01:00
committed by GitHub
parent 25a8a21ed9
commit 5f563ef584
17 changed files with 43 additions and 32 deletions

View File

@ -1,9 +1,7 @@
name: Build pages and publish
on:
push:
branches:
- main
push
jobs:
build:
@ -23,7 +21,10 @@ jobs:
uses: limjh16/jekyll-action-ts@v2
with:
enable_cache: true
- run: bundle exec htmlproofer ./_site --enforce-https=false
name: Check links
- name: Deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main'}}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}