From 211dafcc3aa7415a83b0bd709d4f5085070c644f Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Mon, 15 May 2017 02:32:22 -0400 Subject: [PATCH] Updating CI --- .gitlab-ci.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d527eae..e7348f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,14 +1,16 @@ stages: - - compile - -compile: - stage: compile - before_script: + - 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 -