Updating CI
This commit is contained in:
parent
c0e952a16c
commit
211dafcc3a
|
@ -1,14 +1,16 @@
|
||||||
stages:
|
stages:
|
||||||
- compile
|
- deploy
|
||||||
|
deploy:
|
||||||
compile:
|
stage: deploy
|
||||||
stage: compile
|
before_script:
|
||||||
before_script:
|
|
||||||
- git submodule update --init
|
- 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:
|
artifacts:
|
||||||
|
when: on_failure
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
expire_in: 5 min
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue