File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 88 required : false
99 type : string
1010 default : " "
11+ branch :
12+ required : false
13+ type : string
14+ default : " gh-pages"
1115 set-default :
1216 required : false
1317 type : boolean
5862
5963 - name : Build and deploy static pages
6064 run : |
61- mike deploy ${{ inputs.site-version }} ${{ inputs.version-alias }} --update-aliases --push
65+ mike deploy ${{ inputs.site-version }} ${{ inputs.version-alias }} --update-aliases --push --branch ${{ inputs.branch }}
6266
6367 - name : Set default site version
6468 if : ${{ inputs.site-default }}
6569 run : |
66- mike set-default ${{ inputs.set-version }} --push
70+ mike set-default ${{ inputs.set-version }} --push --branch ${{ inputs.branch }}
71+
72+ # `mike` is specifically built to be used together with GitHub pages.
73+ # To upload the website to another service (i.e. AWS S3) uncomment
74+ # the following step to download the rendered HTML documentation to ./site directory.
75+ # You'll need to implement the upload steps for your provider.
76+
77+ # - name: Download artifact to ./site
78+ # run: |
79+ # rm -rf ./site
80+ # git archive -o site.tar ${{ inputs.branch }}
81+ # mkdir -p ./site
82+ # tar xf site.tar -C ./site
You can’t perform that action at this time.
0 commit comments