Updating CI

This commit is contained in:
Joshua Boniface 2017-05-15 02:32:22 -04:00
parent c0e952a16c
commit 211dafcc3a
1 changed files with 9 additions and 7 deletions

View File

@ -1,14 +1,16 @@
stages:
- compile
compile:
stage: compile
- deploy
deploy:
stage: deploy
before_script:
- git submodule update --init
script: hugo --cleanDestinationDir=true -d /srv/runner/live/www.raidisnotabackup.com
script:
- hugo
- /usr/local/bin/deploy-site www.raidisnotabackup.com
artifacts:
when: on_failure
paths:
- public
expire_in: 5 min
only:
- master