parent
fc8b8867af
commit
1b2c480a55
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"image": "yeasy/docker_practice:latest",
|
||||
"mounts": [
|
||||
"source=dp-code-remote-cache,target=/root/.vscode-server,type=volume"
|
||||
],
|
||||
"settings": {
|
||||
"terminal.integrated.shell.linux": "/bin/sh"
|
||||
},
|
||||
"forwardPorts": [
|
||||
4000
|
||||
],
|
||||
"runArgs": [
|
||||
"--cap-add=SYS_ADMIN"
|
||||
],
|
||||
"postStartCommand": [
|
||||
"sh",
|
||||
"-cx",
|
||||
"pwd ; mkdir -p /workspaces/docker_practice/node_modules; mkdir -p /workspaces/docker_practice/_book; mount --bind /srv/gitbook/node_modules /workspaces/docker_practice/node_modules ; mount --bind /mnt /workspaces/docker_practice/_book"
|
||||
]
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
name: check-link
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
# push:
|
||||
# pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"gitbook:help": "gitbook help",
|
||||
"gitbook:build": "gitbook build",
|
||||
"gitbook:serve": "gitbook serve",
|
||||
"vuepress:build": "npx vuepress build"
|
||||
},
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in New Issue