File tree 1 file changed +6
-26
lines changed
1 file changed +6
-26
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
build :
10
- runs-on : ubuntu-20 .04
10
+ runs-on : ubuntu-22 .04
11
11
steps :
12
- - uses : actions/checkout@v2
12
+ - uses : actions/checkout@v4
13
+ with :
14
+ submodules : true
15
+ fetch-depth : 0
13
16
14
17
- name : Setup Hugo
15
- uses : peaceiris/actions-hugo@v2
18
+ uses : peaceiris/actions-hugo@v3
16
19
with :
17
20
hugo-version : " 0.133.0"
18
21
extended : true
27
30
github_token : ${{ secrets.ghpat }}
28
31
publish_dir : ./public
29
32
cname : digitalevidencetoolkit.org
30
-
31
- preview :
32
- runs-on : ubuntu-20.04
33
- if : ${{ github.event_name == 'pull_request' }}
34
-
35
- steps :
36
- - uses : actions/checkout@v2
37
-
38
- - name : Setup Hugo
39
- uses : peaceiris/actions-hugo@v2
40
- with :
41
- hugo-version : " 0.133.0"
42
- extended : true
43
-
44
- - name : Build
45
- run : hugo --minify
46
-
47
- - name : Deploy Preview
48
- uses : peaceiris/actions-gh-pages@v3
49
- with :
50
- github_token : ${{ secrets.ghpat }}
51
- publish_dir : ./public
52
- cname : pr-${{ github.event.pull_request.number }}.digitalevidencetoolkit.org
You can’t perform that action at this time.
0 commit comments