Skip to content

Commit

Permalink
fix: script order
Browse files Browse the repository at this point in the history
  • Loading branch information
novalagung committed Jun 8, 2023
1 parent 7deb9bc commit d9b2352
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,19 @@ jobs:
with:
node-version: 11
check-latest: true
- name: 'Installing requirements'
- name: 'Generating distributable files'
run: |
rm -f README.md
mv content/* .
mv etc/* .
npm install -g gitbook-cli
gitbook install
cp ./book.json ./book.json.template
gitbook install
cd ~/.gitbook/versions/3.2.3 && npm i npm@5
cd ${{ github.workspace }}
cp ./book.json.template ./book.json
gitbook install
gitbook build
- name: 'Generating distributable files'
run: |
rm -f README.md
mv content/* .
mv etc/* .
go run fix-webbook.go -type=pre
gitbook install
gitbook build
go run fix-webbook.go -type=post
cd _book
Expand Down

0 comments on commit d9b2352

Please sign in to comment.