Added ci config
This commit is contained in:
parent
2c37ebd540
commit
f6cb522888
|
@ -0,0 +1,23 @@
|
||||||
|
stages:
|
||||||
|
- compile
|
||||||
|
- deploy
|
||||||
|
|
||||||
|
compile:
|
||||||
|
stage: compile
|
||||||
|
before_script:
|
||||||
|
- git submodule update --init
|
||||||
|
script: hugo -d /var/www/html/
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
|
#deploy to dreamhost:
|
||||||
|
# stage: deploy
|
||||||
|
# script: rsync -e "/usr/bin/ssh" -rv public/ anthonylavado@clam.dreamhost.com:blog.anthonylavado.com
|
||||||
|
# environment: production
|
||||||
|
# only:
|
||||||
|
# - master
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue