File tree Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Original file line number Diff line number Diff line change 1- name : Deploy scripts/mdBook to gh-pages branch for public use
1+ name : Deploy docs/install-script to gh-pages branch for public use
22on :
33 release :
44 types : [created]
55
66jobs :
7- deploy-installation-script :
8- runs-on : ubuntu-latest
9- steps :
10- - name : Checkout 🛎️
11- uses : actions/checkout@v3
12-
13- - name : Deploy 🚀
14- uses : JamesIves/github-pages-deploy-action@v4.3.0
15- with :
16- branch : gh-pages
17- folder : scripts
18-
19- publish-docs :
7+ publish-docs-and-install-script :
208 runs-on : ubuntu-latest
219 defaults :
2210 run :
@@ -28,10 +16,13 @@ jobs:
2816 - name : Setup mdBook
2917 uses : peaceiris/actions-mdbook@v1
3018 with :
31- # mdbook-version: '0.4.10'
3219 mdbook-version : ' latest'
3320
34- - run : mdbook build
21+ - name : compiles the documentation
22+ run : mdbook build
23+
24+ - name : copies install.sh into the deployment folder
25+ run : cp ../scripts/install.sh ./book/
3526
3627 - name : Deploy 🚀
3728 uses : JamesIves/github-pages-deploy-action@v4.3.0
You can’t perform that action at this time.
0 commit comments