File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 1
1
name : Check link
2
2
3
3
on :
4
- # push:
5
- # pull_request:
6
4
workflow_dispatch :
7
5
8
6
jobs :
9
7
check-link :
10
8
name : check-link
11
9
runs-on : ubuntu-latest
12
10
steps :
13
- - uses : actions/checkout@master
14
- with :
15
- fetch-depth : 1
11
+ - uses : actions/checkout@v4.1.1
16
12
# search Issues :-(
17
13
- run : |
18
14
docker run -i --rm \
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
1
3
on :
2
4
push :
3
5
pull_request :
4
6
workflow_dispatch :
5
7
6
- name : CI
7
-
8
8
defaults :
9
9
run :
10
10
shell : bash --noprofile --norc -exo pipefail {0}
14
14
name : Build
15
15
runs-on : ubuntu-latest
16
16
steps :
17
- - uses : actions/checkout@master
18
- with :
19
- fetch-depth : 2
17
+ - uses : actions/checkout@v4.1.1
20
18
- name : Build Gitbook
21
19
uses : docker://yeasy/docker_practice
22
20
with :
70
68
run : |
71
69
export NODE_OPTIONS=--openssl-legacy-provider
72
70
sudo rm -rf _book
73
- # npm i vuepress --save-dev
74
71
npm i
75
72
76
73
git clone https://github.com/docker-practice/.vuepress .vuepress2
81
78
npx vuepress --version
82
79
83
80
npm run vuepress:build
84
- # echo "vuepress.docker-practice.com" > .vuepress/dist/CNAME
85
81
echo "vuepress.mirror.docker-practice.com" > .vuepress/dist/CNAME
86
82
87
83
cp -r _images .vuepress/dist
You can’t perform that action at this time.
0 commit comments