Commit e8aa5f7e authored by david's avatar david 💬

updated ci file

parent 5c8407d3
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment