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