2017-02-26 16:24:53 -05:00
|
|
|
# Build status located at https://travis-ci.org/citra-emu/citra-web
|
|
|
|
|
2017-08-29 21:16:03 -05:00
|
|
|
# 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
|
|
|
|
|
2017-02-26 16:24:53 -05:00
|
|
|
language: node_js
|
2017-09-05 23:15:59 -04:00
|
|
|
node_js: node
|
|
|
|
cache: yarn
|
2017-06-04 11:52:35 -04:00
|
|
|
|
2017-09-05 23:27:10 -04:00
|
|
|
script:
|
2017-06-27 18:54:43 -04:00
|
|
|
- echo '========== Installing gulp & dependencies =========='
|
2017-06-10 16:48:13 -04:00
|
|
|
- sudo apt-get install graphicsmagick
|
2017-09-05 23:15:59 -04:00
|
|
|
- yarn global add hugo-bin
|
|
|
|
- yarn global add gulp
|
|
|
|
- yarn install
|
2017-02-26 16:24:53 -05:00
|
|
|
|
|
|
|
- echo '========== Starting gulp deploy task =========='
|
2017-09-05 22:37:11 -04:00
|
|
|
- hugo version
|
2017-08-29 22:17:23 -04:00
|
|
|
- gulp all --production
|
2017-02-26 16:24:53 -05:00
|
|
|
|
2017-09-05 23:27:10 -04:00
|
|
|
deploy:
|
|
|
|
provider: pages
|
|
|
|
skip_cleanup: true
|
|
|
|
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
|
|
|
|
local_dir: build
|
2017-09-05 23:28:12 -04:00
|
|
|
repo: CitraBotWeb/CitraBotWeb.github.io
|
2017-09-05 23:27:10 -04:00
|
|
|
target_branch: master
|
|
|
|
fqdn: citra-emu.org
|
|
|
|
on:
|
|
|
|
branch: master
|
|
|
|
|
2017-06-10 00:06:53 -04:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
- mods@citra-emu.org
|