File tree 2 files changed +39
-1
lines changed
2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change 33
33
- name : Set up Hugo
34
34
uses : peaceiris/actions-hugo@v2
35
35
with :
36
- hugo-version : ' 0.92.1 '
36
+ hugo-version : ' 0.110.0 '
37
37
extended : true
38
38
39
39
- name : Set up Node
You can’t perform that action at this time.
0 commit comments