blob: 458e88e32758175128b4c7fa14a95c6ef2f8ac7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
---
stages:
- deploy
cache:
paths:
- vendor/
variables:
LANG: "C.UTF-8"
before_script:
- apt-get update -qq && apt-get install -y -qq lftp rubygems
- gem install bundler
- bundle install --path vendor
deploy:
stage: deploy
only:
- master
script:
- JEKYLL_ENV=production bundle exec jekyll build
- lftp -e "mirror -R -n -e _site $REM_CWD ; exit" -u "$REM_USER,$REM_PASWD" "$REM_SERVER"
artifacts:
paths:
- _site
|