Compare commits
1 Commits
html-proof
..
v4.1.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 0c0072eac1 |
@@ -90,35 +90,3 @@ jobs:
|
|||||||
- uses: actions/checkout@v4.1.1
|
- uses: actions/checkout@v4.1.1
|
||||||
# run markdown linter
|
# run markdown linter
|
||||||
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.15
|
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.15
|
||||||
|
|
||||||
proof-html:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
# checkout to the commit that has been pushed
|
|
||||||
- uses: actions/checkout@v4.1.1
|
|
||||||
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 18
|
|
||||||
|
|
||||||
- name: Install node modules
|
|
||||||
run: npm install
|
|
||||||
|
|
||||||
- name: Setup Hugo
|
|
||||||
uses: peaceiris/actions-hugo@v2.6.0
|
|
||||||
with:
|
|
||||||
hugo-version: 'latest'
|
|
||||||
extended: true
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: |
|
|
||||||
cd exampleSite
|
|
||||||
hugo --minify
|
|
||||||
|
|
||||||
# Run HTML Proofer
|
|
||||||
- uses: anishathalye/proof-html@v2.1.2
|
|
||||||
with:
|
|
||||||
directory: exampleSite/public
|
|
||||||
enforce_https: false
|
|
||||||
ignore_url: "#"
|
|
||||||
|
|||||||
+4
-1
@@ -1,4 +1,7 @@
|
|||||||
module:
|
module:
|
||||||
|
hugoVersion:
|
||||||
|
min: "0.118.0"
|
||||||
|
extended: true
|
||||||
mounts:
|
mounts:
|
||||||
- source: content
|
- source: content
|
||||||
target: content
|
target: content
|
||||||
@@ -19,4 +22,4 @@ module:
|
|||||||
- source: ../../node_modules/@fontsource/mulish/files
|
- source: ../../node_modules/@fontsource/mulish/files
|
||||||
target: static/files
|
target: static/files
|
||||||
- source: ../../node_modules/katex/dist/fonts
|
- source: ../../node_modules/katex/dist/fonts
|
||||||
target: static/fonts
|
target: static/fonts
|
||||||
|
|||||||
Reference in New Issue
Block a user