File tree Expand file tree Collapse file tree 6 files changed +24
-213
lines changed Expand file tree Collapse file tree 6 files changed +24
-213
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4040 - name : Build
4141 run : |
4242 mdbook build
43- cp Dockerfile book/Dockerfile
44- cp nginx.conf book/nginx.conf
45- cp book.yaml book/book.yaml
4643 working-directory : book
4744 - uses : actions/upload-artifact@v3
4845 with :
6158 - uses : peaceiris/actions-gh-pages@v3
6259 with :
6360 github_token : ${{ secrets.GITHUB_TOKEN }}
64- publish_dir : .
61+ publish_dir : .
62+ - uses : Pivot-Studio/action-qiniu-upload@master
63+ with :
64+ # Your qiniu access key, required.
65+ access_key : ${{ secrets.QINIU_ACCESS_KEY }}
66+
67+ # Your qiniu secret key, required.
68+ secret_key : ${{ secrets.QINIU_SECRET_KEY }}
69+
70+ # Bucket name, required.
71+ bucket : ${{ secrets.QINIU_BUCKET }}
72+
73+ # The local directory (or file) you want to upload to bucket.
74+ # Default: './'
75+ source_dir : ' ./'
76+
77+ # The directory inside of the bucket you want to upload to, namely key prefix prepended to dest file key.
78+ # Default: '/'
79+ dest_dir : ' /docs'
80+
81+ # Whether to ignore source maps.
82+ # Default: true
83+ ignore_source_map : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ git-repository-icon = "fa-github"
1414edit-url-template = " https://github.com/Pivot-Studio/pivot-lang/edit/master/book/{path}"
1515additional-css = [" ././mdbook-admonish.css" ]
1616additional-js = [" mermaid.min.js" , " mermaid-init.js" ]
17+ site-url = " /docs/"
1718
1819[preprocessor ]
1920
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments