From f6cb522888edb2941cd5e11d8b6f437db1cb642b Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 21 Aug 2016 23:50:41 -0400 Subject: [PATCH] Added ci config --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..53235f8 --- /dev/null +++ b/.gitlab-ci.yml @@ -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 + +