Skip to content

Commit 7113338

Browse files
committed
ci: upgrade hugo
Signed-off-by: Mark Sagi-Kazar <[email protected]>
1 parent 60aecd1 commit 7113338

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

.github/workflows/ci.yaml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
build:
9+
name: Build
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v3
15+
with:
16+
submodules: 'recursive'
17+
18+
- name: Set up Hugo
19+
uses: peaceiris/actions-hugo@v2
20+
with:
21+
hugo-version: '0.110.0'
22+
extended: true
23+
24+
- name: Set up Node
25+
uses: actions/setup-node@v3
26+
with:
27+
node-version: 16
28+
29+
- name: Install dependencies
30+
run: |
31+
cd themes/docsy
32+
npm install
33+
34+
- name: Set up PostCSS
35+
run: npm install --save-dev autoprefixer postcss-cli postcss
36+
37+
- name: Build
38+
run: hugo

.github/workflows/publish.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Hugo
3434
uses: peaceiris/actions-hugo@v2
3535
with:
36-
hugo-version: '0.92.1'
36+
hugo-version: '0.110.0'
3737
extended: true
3838

3939
- name: Set up Node

0 commit comments

Comments
 (0)