2 changed files with 39 additions and 0 deletions
@ -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 |
||||
|
Loading…
Reference in new issue