diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a3b929641..cde90c33c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,18 +21,11 @@ jobs: run: | rm -f README.md mv content/* . - mv etc/cover_small.jpg . - mv etc/cover_square.png . - mv etc/cover.jpg . - mv etc/style-custom.css . mv etc/main.go . - mv etc/robots.txt . - mv etc/script-gitbook-plugin-disqus.js . npm install -g gitbook-cli gitbook install cd ~/.gitbook/versions/3.2.3 && npm i npm@5 cd ${{ github.workspace }} - mv etc/book.json . gitbook install go run main.go -mode=webbook -adjustment=pre gitbook build @@ -73,9 +66,6 @@ jobs: run: | rm -f README.md mv content/* . - mv etc/cover_small.jpg . - mv etc/cover_square.png . - mv etc/cover.jpg . mv etc/main.go . go run main.go -mode=ebook -adjustment=pre gitbook install diff --git a/etc/book.json b/content/book.json similarity index 100% rename from etc/book.json rename to content/book.json diff --git a/etc/cover.jpg b/content/cover.jpg similarity index 100% rename from etc/cover.jpg rename to content/cover.jpg diff --git a/etc/cover_small.jpg b/content/cover_small.jpg similarity index 100% rename from etc/cover_small.jpg rename to content/cover_small.jpg diff --git a/etc/cover_square.png b/content/cover_square.png similarity index 100% rename from etc/cover_square.png rename to content/cover_square.png diff --git a/etc/robots.txt b/content/robots.txt similarity index 100% rename from etc/robots.txt rename to content/robots.txt diff --git a/etc/script-gitbook-plugin-disqus.js b/content/script-gitbook-plugin-disqus.js similarity index 100% rename from etc/script-gitbook-plugin-disqus.js rename to content/script-gitbook-plugin-disqus.js diff --git a/etc/style-custom.css b/content/style-custom.css similarity index 100% rename from etc/style-custom.css rename to content/style-custom.css