Revise CI build script

This commit is contained in:
foo-dogsquared 2019-08-14 17:12:48 +08:00
parent ca1c11b132
commit 113df71e17

View File

@ -5,7 +5,11 @@ dist: xenial
addons: addons:
snaps: snaps:
- hugo - hugo
- ruby
script: script:
- gem --version
- gem install asciidoctor
- asciidoctor --version
- hugo - hugo
deploy: deploy:
local_dir: "public/" local_dir: "public/"
@ -13,6 +17,6 @@ deploy:
skip_cleanup: true skip_cleanup: true
github_token: $GITHUB_TOKEN github_token: $GITHUB_TOKEN
target_branch: gh-pages target_branch: gh-pages
keep_history: true
on: on:
branch: master branch: master