Browse Source

added gitlab-ci.yml

main
david 4 years ago
parent
commit
46aa12f60b
  1. 37
      .gitlab-ci.yml
  2. 2
      README.md

37
.gitlab-ci.yml

@ -0,0 +1,37 @@
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:
- jekyll build -d public
- rsync -av --delete public/* /var/www/gmur.ml
environment:
name: production
url: https://gmur.ml
only:
- master

2
README.md

@ -1,3 +1,5 @@
# gmur.ml
[![build status](https://socialg.it/web/gmurml/badges/master/build.svg)](https://socialg.it/web/gmurml/commits/master)
This is the jekyll code for https://gmur.ml

Loading…
Cancel
Save