File tree 4 files changed +16
-7
lines changed
site/content/posts/introduction
4 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,5 @@ RUN wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hug
15
15
dpkg -i hugo_extended_${HUGO_VERSION}_linux-amd64.deb && \
16
16
rm hugo_extended_${HUGO_VERSION}_linux-amd64.deb
17
17
18
- RUN mkdir -p /site
19
-
20
- WORKDIR /site
21
-
22
18
ENV HUGO_CACHEDIR=/cache
23
19
ENV PATH="/var/hugo/bin:$PATH"
Original file line number Diff line number Diff line change 10
10
},
11
11
"extensions" : [
12
12
" ms-azuretools.vscode-docker" ,
13
- " vscode.git" ,
14
- " golang.go"
13
+ " vscode.git"
15
14
]
16
15
}
17
16
},
18
17
"forwardPorts" : [1313 ],
19
- "postCreateCommand" : " git submodule update --init --recursive && sudo hugo server --bind 0.0.0.0 --disableFastRender "
18
+ "postCreateCommand" : " git submodule update --init --recursive"
20
19
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "version" : " 2.0.0" ,
3
+ "tasks" : [
4
+ {
5
+ "label" : " Run Hugo Server" ,
6
+ "type" : " shell" ,
7
+ "command" : " cd site && sudo hugo server --bind 0.0.0.0 --disableFastRender" ,
8
+ "problemMatcher" : [],
9
+ "isBackground" : true
10
+ }
11
+ ]
12
+ }
Original file line number Diff line number Diff line change @@ -17,3 +17,5 @@ aliases = ["/building"]
17
17
# Test
18
18
19
19
Test
20
+
21
+ Test in codespaces number 2
You can’t perform that action at this time.
0 commit comments