Skip to content

Commit d9b2352

Browse files
committed
fix: script order
1 parent 7deb9bc commit d9b2352

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +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+
rm -f README.md
23+
mv content/* .
24+
mv etc/* .
2225
npm install -g gitbook-cli
23-
gitbook install
2426
cp ./book.json ./book.json.template
27+
gitbook install
2528
cd ~/.gitbook/versions/3.2.3 && npm i npm@5
2629
cd ${{ github.workspace }}
2730
cp ./book.json.template ./book.json
2831
gitbook install
29-
gitbook build
30-
- name: 'Generating distributable files'
31-
run: |
32-
rm -f README.md
33-
mv content/* .
34-
mv etc/* .
3532
go run fix-webbook.go -type=pre
36-
gitbook install
3733
gitbook build
3834
go run fix-webbook.go -type=post
3935
cd _book

0 commit comments

Comments
 (0)