2017-02-26 22:24:53 +01:00
|
|
|
# Build status located at https://travis-ci.org/citra-emu/citra-web
|
|
|
|
|
|
|
|
language: node_js
|
2018-10-28 04:14:47 +01:00
|
|
|
node_js:
|
2018-12-15 17:40:20 +01:00
|
|
|
- "node"
|
2017-09-06 05:15:59 +02:00
|
|
|
cache: yarn
|
2017-06-04 17:52:35 +02:00
|
|
|
|
2017-09-06 05:27:10 +02:00
|
|
|
script:
|
2017-06-28 00:54:43 +02:00
|
|
|
- echo '========== Installing gulp & dependencies =========='
|
2017-06-10 22:48:13 +02:00
|
|
|
- sudo apt-get install graphicsmagick
|
2018-12-19 02:03:06 +01:00
|
|
|
- wget -O hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.52/hugo_0.52_Linux-64bit.deb
|
2017-12-17 21:09:38 +01:00
|
|
|
- sudo dpkg -i hugo.deb
|
2017-09-06 05:15:59 +02:00
|
|
|
- yarn install
|
2017-02-26 22:24:53 +01:00
|
|
|
|
|
|
|
- echo '========== Starting gulp deploy task =========='
|
2017-09-06 04:37:11 +02:00
|
|
|
- hugo version
|
2018-12-19 02:03:06 +01:00
|
|
|
- yarn run gulp all --production
|
2017-09-06 05:27:10 +02:00
|
|
|
deploy:
|
|
|
|
provider: pages
|
|
|
|
skip_cleanup: true
|
|
|
|
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
|
|
|
|
local_dir: build
|
2017-09-06 05:28:12 +02:00
|
|
|
repo: CitraBotWeb/CitraBotWeb.github.io
|
2017-09-06 05:27:10 +02:00
|
|
|
target_branch: master
|
|
|
|
fqdn: citra-emu.org
|
|
|
|
on:
|
|
|
|
branch: master
|
2017-06-10 06:06:53 +02:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
- mods@citra-emu.org
|