Skip to content

Commit 01e5eaa

Browse files
committed
chore: update deploy gh pages action
1 parent 97a3c1a commit 01e5eaa

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

.github/workflows/deploy-gh-pages.yaml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,10 @@
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
22
on:
33
release:
44
types: [created]
55

66
jobs:
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

0 commit comments

Comments
 (0)