Skip to content

Commit 1eee671

Browse files
authored
Merge pull request #225 from novalagung/refactor/structure
Refactor/structure
2 parents 192563c + d9b2352 commit 1eee671

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,19 @@ jobs:
1717
with:
1818
node-version: 11
1919
check-latest: true
20-
- name: 'Installing requirements'
20+
- name: 'Generating distributable files'
2121
run: |
22-
gitbook install
22+
rm -f README.md
23+
mv content/* .
24+
mv etc/* .
25+
npm install -g gitbook-cli
2326
cp ./book.json ./book.json.template
27+
gitbook install
2428
cd ~/.gitbook/versions/3.2.3 && npm i npm@5
2529
cd ${{ github.workspace }}
2630
cp ./book.json.template ./book.json
2731
gitbook install
28-
gitbook build
29-
- name: 'Generating distributable files'
30-
run: |
31-
rm -f README.md
32-
mv content/* .
33-
mv etc/* .
3432
go run fix-webbook.go -type=pre
35-
gitbook install
3633
gitbook build
3734
go run fix-webbook.go -type=post
3835
cd _book

0 commit comments

Comments
 (0)