File tree Expand file tree Collapse file tree 4 files changed +16
-7
lines changed
site/content/posts/introduction Expand file tree Collapse file tree 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
1515 dpkg -i hugo_extended_${HUGO_VERSION}_linux-amd64.deb && \
1616 rm hugo_extended_${HUGO_VERSION}_linux-amd64.deb
1717
18- RUN mkdir -p /site
19-
20- WORKDIR /site
21-
2218ENV HUGO_CACHEDIR=/cache
2319ENV PATH="/var/hugo/bin:$PATH"
Original file line number Diff line number Diff line change 1010 },
1111 "extensions" : [
1212 " ms-azuretools.vscode-docker" ,
13- " vscode.git" ,
14- " golang.go"
13+ " vscode.git"
1514 ]
1615 }
1716 },
1817 "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"
2019}
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"]
1717# Test
1818
1919Test
20+
21+ Test in codespaces number 2
You can’t perform that action at this time.
0 commit comments