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 -