Fix Asciidoctor installation and recognize with Hugo

This commit is contained in:
foo-dogsquared 2019-08-14 17:45:41 +08:00
parent 83d21f8349
commit 045d1796fd
2 changed files with 5 additions and 3 deletions

View File

@ -5,10 +5,10 @@ dist: xenial
addons:
snaps:
- hugo
before_script:
- sudo apt-get update
- sudo apt-get install asciidoctor
- name: ruby
confinement: classic
script:
- bundle install
- asciidoctor --version
- hugo
deploy:

2
Gemfile Normal file
View File

@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'asciidoc'