mirror of
https://github.com/inventree/inventree-website.git
synced 2026-11-19 12:57:52 +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:
1 parent
25a8a21ed9
commit
5f563ef584
17 files changed
+43
-32
No files matched your search
@@ -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 }}
|
||||
|
||||
Reference in new issue
Block a user