mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 10:58:33 +00:00
22 lines
600 B
YAML
22 lines
600 B
YAML
dist: bionic
|
|
|
|
# installing Hugo from the snap store'
|
|
# https://snapcraft.io/hugo
|
|
before_install:
|
|
- sudo apt-get update
|
|
- sudo apt-get install ruby
|
|
- curl https://api.github.com/repos/gohugoio/hugo/releases/latest | grep "hugo_extended.*deb" | grep "browser_download_url" | cut --delimiter=":" --delimiter="\"" --fields=4 | wget -qi -
|
|
- sudo dpkg -i hugo*.deb
|
|
- sudo gem install asciidoctor
|
|
script:
|
|
- asciidoctor --version
|
|
- hugo
|
|
deploy:
|
|
local_dir: "public/"
|
|
provider: pages
|
|
skip_cleanup: true
|
|
github_token: $GITHUB_TOKEN
|
|
target_branch: gh-pages
|
|
on:
|
|
branch: master
|
|
|