mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2025-05-04 14:25:30 +08:00
fix
This commit is contained in:
parent
3e33579947
commit
18c640015b
@ -22,8 +22,13 @@
|
|||||||
// "forwardPorts": [],
|
// "forwardPorts": [],
|
||||||
|
|
||||||
// Use 'postCreateCommand' to run commands after the container is created.
|
// Use 'postCreateCommand' to run commands after the container is created.
|
||||||
"postCreateCommand": "npm ci",
|
// "postCreateCommand": "npm ci",
|
||||||
|
|
||||||
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
||||||
// "remoteUser": "vscode"
|
// "remoteUser": "vscode",
|
||||||
|
|
||||||
|
// Developing inside a container on a remote Docker host
|
||||||
|
// https://code.visualstudio.com/docs/remote/containers-advanced#_developing-inside-a-container-on-a-remote-docker-host
|
||||||
|
"workspaceFolder": "/workspace",
|
||||||
|
"workspaceMount": "source=/home/iris/Documents/repos/github.com/peaceiris/actions-hugo,target=/workspace,type=volume"
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@ RUN wget -q "https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz" && \
|
|||||||
make all && \
|
make all && \
|
||||||
make install
|
make install
|
||||||
|
|
||||||
WORKDIR /repo
|
WORKDIR /workspace
|
||||||
ENV RUNNER_TEMP="/tmp"
|
ENV RUNNER_TEMP="/tmp"
|
||||||
|
|
||||||
CMD [ "bash" ]
|
CMD [ "bash" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user