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:
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@ -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