File tree 3 files changed +32
-2
lines changed
3 files changed +32
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : deploy
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+ strategy :
11
+ matrix :
12
+ node-version : [12.x]
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - name : Use Node.js ${{ matrix.node-version }}
16
+ uses : actions/setup-node@v1
17
+ with :
18
+ node-version : ${{ matrix.node-version }}
19
+ - name : Install dependencies
20
+ run : yarn
21
+ - name : Run build
22
+ run : yarn build
23
+ - name : Deploy
24
+
25
+ with :
26
+ GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
27
+ BRANCH : gh-pages
28
+ FOLDER : docs/.vuepress/dist
29
+ CLEAN : true
Original file line number Diff line number Diff line change 15
15
16
16
<img src =" .github/qa.gif " alt =" Imagem de QA " width =" 150 " >
17
17
</br >
18
- <img src =" https://img.shields.io/github/workflow/status/vcwild/qa4noobs/complete-checking ?style=flat-square&color=blueviolet " alt =" build " />
18
+ <img src =" https://img.shields.io/github/workflow/status/vcwild/qa4noobs/deploy ?style=flat-square&color=blueviolet " alt =" build " />
19
19
20
20
<img src =" https://img.shields.io/badge/topics-42-blueviolet?style=flat-square " alt =" topics " />
21
21
<img src =" https://img.shields.io/tokei/lines/github/vcwild/qa4noobs?color=blueviolet&style=flat-square " alt =" topics " />
Original file line number Diff line number Diff line change 8
8
},
9
9
"scripts" : {
10
10
"docs:dev" : " vuepress dev docs" ,
11
- "docs:build" : " vuepress build docs"
11
+ "docs:build" : " vuepress build docs" ,
12
+ "build" : " vuepress build docs"
12
13
},
13
14
"dependencies" : {
14
15
"vuepress-theme-yuu" : " ^3.1.1"
You can’t perform that action at this time.
0 commit comments