File tree 2 files changed +1
-19
lines changed
2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -51,28 +51,12 @@ clean() {
51
51
./resources
52
52
}
53
53
54
- install_dependencies () {
55
- # envsubst
56
- apk add gettext
57
-
58
- # yq
59
- wget https://github.com/mikefarah/yq/releases/download/v4.40.7/yq_linux_amd64.tar.gz -O - | \
60
- tar xz && mv yq_linux_amd64 /usr/bin/yq
61
-
62
- # global node modules
63
- npm install -g postcss postcss-cli @fullhuman/postcss-purgecss purgecss-whitelister flexsearch lodash
64
- }
65
-
66
54
prepare () {
67
55
if [[ " $PREPARE " = true ]]; then
68
56
clean
69
57
70
58
echo " =====> prepare phase"
71
59
72
- if [[ " $DOCKER " = true ]]; then
73
- install_dependencies
74
- fi
75
-
76
60
hugo mod get -u
77
61
hugo mod npm pack
78
62
Original file line number Diff line number Diff line change @@ -3,11 +3,9 @@ services:
3
3
image : floryn90/hugo:0.135.0-ext-alpine
4
4
ports :
5
5
- 1313:1313
6
+ user : root:root
6
7
volumes :
7
8
- .:/src
8
- - /src/content
9
- - /src/resources
10
- - /src/node_modules
11
9
working_dir : /src
12
10
environment :
13
11
- DOCKER=true
You can’t perform that action at this time.
0 commit comments