Skip to content

Commit e73ab2c

Browse files
committed
Add CI for the repository
1 parent 3770b26 commit e73ab2c

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Continuous Integration
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
with:
17+
submodules: "true"
18+
19+
- name: Setup Hugo
20+
uses: peaceiris/actions-hugo@v2
21+
with:
22+
hugo-version: '0.110.0'
23+
# extended: true
24+
25+
- name: Build
26+
run: hugo --minify
27+
28+
# TODO: Uncomment when cleaned up
29+
# - name: Validate HTML and links
30+
# uses: anishathalye/proof-html@v2
31+
# with:
32+
# directory: ./_site
33+
# enforce_https: false

0 commit comments

Comments
 (0)