diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0932a4004..a33e78353 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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