.gitlab-ci.yml 377 Bytes
Newer Older
david's avatar
david committed
1 2 3 4 5 6 7 8
stages:
  - deploy

deploy:
  stage: deploy
  tags:
    - jekyll
  script:
david's avatar
david committed
9
    - apt-get update
david's avatar
david committed
10
    - apt-get install -y ruby-full build-essential zlib1g-dev rsync
david's avatar
david committed
11
    - gem install bundler jekyll
david's avatar
david committed
12
    - jekyll build -d public
david's avatar
david committed
13
    - rsync -av --exclude '.well-known' --delete public/ /srv/gmur.ml/
david's avatar
david committed
14 15 16 17 18
  environment:
    name: production
    url: https://gmur.ml
  only:
  - master