From a63875d0326621a728b04f3e7cc5c2ab04970929 Mon Sep 17 00:00:00 2001 From: david Date: Sun, 27 Oct 2019 18:58:57 +0100 Subject: [PATCH] updated ci file --- .gitlab-ci.yml | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 90e3aa4..27ed4bf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,34 +1,16 @@ 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 ruby-full build-essential zlib1g-dev rsync + - gem install bundler jekyll - jekyll build -d public - - rsync -av --exclude '.well-known' --delete public/ /var/www/gmur.ml/ + - rsync -av --exclude '.well-known' --delete public/ /srv/gmur.ml/ environment: name: production url: https://gmur.ml