-
Notifications
You must be signed in to change notification settings - Fork 66
40 lines (34 loc) · 899 Bytes
/
htmltest.yml
File metadata and controls
40 lines (34 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: HtmlTest Action
on:
schedule:
- cron: '23 17 * * *'
jobs:
build:
name: Htmltest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Install build dependencies
run: |
gem install asciidoctor rouge
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.133.1'
extended: true
- name: Build
run: |
hugo --minify
- name: Display the public/ folders
run: |
ls -lR public/
- name: Run htmltest
uses: wjdp/htmltest-action@master
with:
config: .htmltest.yml