File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,47 +2,47 @@ name: Continuous Deployment
22on :
33 push :
44 branches :
5- - master
5+ - v1
66
77jobs :
88 integration-tests :
99 runs-on : ubuntu-latest
1010 steps :
11- - name : Checkout
12- uses : actions/checkout@v1
13- - name : Install Node
14- uses : actions/setup-node@v1
15- with :
16- node-version : 16
17- - name : Configure
18- run : npm install
19- - name : Build
20- run : npm run build
21- - name : Build Schemas
22- run : npm run buildschemas
23- - name : Run tests
24- run : npm run test
11+ - name : Checkout
12+ uses : actions/checkout@v1
13+ - name : Install Node
14+ uses : actions/setup-node@v1
15+ with :
16+ node-version : 16
17+ - name : Configure
18+ run : npm install
19+ - name : Build
20+ run : npm run build
21+ - name : Build Schemas
22+ run : npm run buildschemas
23+ - name : Run tests
24+ run : npm run test
2525 deploy :
2626 if : github.ref == 'refs/heads/master'
2727 runs-on : ubuntu-latest
2828 needs : [integration-tests]
2929 steps :
30- - name : Checkout
31- uses : actions/checkout@v1
32- - name : Install Node
33- uses : actions/setup-node@v1
34- with :
35- node-version : 16
36- - name : Configure
37- run : npm install
38- - name : Build
39- run : npm run build
40- - name : Build Schemas
41- run : npm run buildschemas
42- - name : Publush to Github Pages
43- uses : JamesIves/github-pages-deploy-action@3.7.1
44- with :
45- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46- BRANCH : gh-pages
47- FOLDER : .vuepress/dist
48- CLEAN : true
30+ - name : Checkout
31+ uses : actions/checkout@v1
32+ - name : Install Node
33+ uses : actions/setup-node@v1
34+ with :
35+ node-version : 16
36+ - name : Configure
37+ run : npm install
38+ - name : Build
39+ run : npm run build
40+ - name : Build Schemas
41+ run : npm run buildschemas
42+ - name : Publush to Github Pages
43+ uses : JamesIves/github-pages-deploy-action@3.7.1
44+ with :
45+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46+ BRANCH : v1-site
47+ FOLDER : .vuepress/dist
48+ CLEAN : true
You can’t perform that action at this time.
0 commit comments