Testing installing the .deb version of hugo instead of relying on yarn.
This commit is contained in:
parent
b9f743d57c
commit
bbfea4bb05
|
@ -1,9 +1,5 @@
|
||||||
# Build status located at https://travis-ci.org/citra-emu/citra-web
|
# Build status located at https://travis-ci.org/citra-emu/citra-web
|
||||||
|
|
||||||
# set-up-ssh is provided by travis-scripts.
|
|
||||||
# Setting up the SSH key for Github is described here.
|
|
||||||
# https://github.com/alrra/travis-scripts/blob/master/doc/github-deploy-keys.md
|
|
||||||
|
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js: node
|
node_js: node
|
||||||
cache: yarn
|
cache: yarn
|
||||||
|
@ -11,14 +7,14 @@ cache: yarn
|
||||||
script:
|
script:
|
||||||
- echo '========== Installing gulp & dependencies =========='
|
- echo '========== Installing gulp & dependencies =========='
|
||||||
- sudo apt-get install graphicsmagick
|
- sudo apt-get install graphicsmagick
|
||||||
- yarn global add hugo-bin
|
- wget -O hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.31.1/hugo_0.31.1_Linux-64bit.deb
|
||||||
|
- sudo dpkg -i hugo.deb
|
||||||
- yarn global add gulp
|
- yarn global add gulp
|
||||||
- yarn install
|
- yarn install
|
||||||
|
|
||||||
- echo '========== Starting gulp deploy task =========='
|
- echo '========== Starting gulp deploy task =========='
|
||||||
- hugo version
|
- hugo version
|
||||||
- gulp all --production
|
- gulp all --production
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: pages
|
provider: pages
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
@ -29,7 +25,6 @@ deploy:
|
||||||
fqdn: citra-emu.org
|
fqdn: citra-emu.org
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
- mods@citra-emu.org
|
- mods@citra-emu.org
|
||||||
|
|
Reference in New Issue