File tree Expand file tree Collapse file tree 2 files changed +21
-8
lines changed
Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Publish docs
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [ 1.x ]
66 paths :
77 - ' docs/**'
88 workflow_dispatch :
1515 - name : Checkout
1616 uses : actions/checkout@main
1717
18- - name : vuepress-deploy
19- uses : jenkey2011/vuepress-deploy@master
20- env :
21- ACCESS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22- BUILD_SCRIPT : cd docs && npm install && npm run build
23- BUILD_DIR : src/.vuepress/dist
18+ - name : Publish to Quant
19+ uses : quantcdn/action-deploy@v5
20+ with :
21+ customer : salsa-digital
22+ project : shipshape
23+ token : ${{ secrets.QUANT_TOKEN }}
24+ dir : docs/src/.vuepress/dist
25+ skip-unpublish-regex : ' ^/main.*'
Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ module.exports = {
2121 [ 'meta' , { name : 'apple-mobile-web-app-status-bar-style' , content : 'black' } ]
2222 ] ,
2323
24- base : "/shipshape/" ,
24+ base : "/1.x/" ,
25+
26+ dest : "src/.vuepress/dist/1.x" ,
2527
2628 /**
2729 * Theme configuration, here is the default theme configuration for VuePress.
@@ -43,6 +45,15 @@ module.exports = {
4345 text : 'Reference' ,
4446 link : '/reference/' ,
4547 } ,
48+ {
49+ text : '1.x' ,
50+ items : [
51+ {
52+ text : 'main' ,
53+ link : 'https://818b00ca-cb1b-4227-99ed-284bd9c399db.quantsites.com/main' ,
54+ } ,
55+ ] ,
56+ } ,
4657 {
4758 text : 'GitHub' ,
4859 link : 'https://github.com/salsadigitalauorg/shipshape'
You can’t perform that action at this time.
0 commit comments