From e8aa5f7eb563df74d2360b6e30363a9e85e4cf81 Mon Sep 17 00:00:00 2001 From: david Date: Sun, 27 Oct 2019 19:14:00 +0100 Subject: [PATCH] updated ci file --- .gitlab-ci.yml | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a9c4d71..cc6275c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,37 +1,18 @@ stages: - - test - - build - deploy -test: - stage: test - tags: - - jekyll - script: - - jekyll build -d test - except: - - master - -build: - stage: deploy - tags: - - jekyll - script: - - jekyll build -d public - only: - - master - - deploy: stage: deploy tags: - jekyll script: + - apt-get update + - apt-get install -y ruby-full build-essential zlib1g-dev rsync + - gem install bundler jekyll - jekyll build -d public - - rsync -av --delete public/ /home/user-data/www/default/ + - rsync -av --delete public/ /srv/default/ environment: name: production url: https://excelsior.socialnerds.org only: - master -