diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 31e8fa588..653877ea4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,13 +21,13 @@ jobs: run: | rm -f README.md mv content/* . - mv book.json book.json.tmp + mv book.json etc/book.json mv etc/main.go . npm install -g gitbook-cli gitbook install cd ~/.gitbook/versions/3.2.3 && npm i npm@5 cd ${{ github.workspace }} - mv book.json.tmp book.json + mv etc/book.json book.json gitbook install go run main.go -mode=webbook -adjustment=pre gitbook build @@ -68,7 +68,7 @@ jobs: run: | rm -f README.md mv content/* . - rm -rf book.json + rm -f book.json mv etc/main.go . go run main.go -mode=ebook -adjustment=pre gitbook install