Commit a63875d0 authored by david's avatar david 💬

updated ci file

parent 1f21f5a6
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
......
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