diff options
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 45a28b8..81f7dd9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,10 +4,6 @@ image: ruby:latest stages: - deploy -cache: - paths: - - vendor/ - variables: JEKYLL_ENV: production LANG: "C.UTF-8" @@ -16,14 +12,14 @@ variables: before_script: - apt-get update -qq && apt-get install -y -qq lftp rubygems - gem install bundler - - bundle install --path vendor + - bundle install deploy: stage: deploy only: - master script: - - JEKYLL_ENV=production bundle exec jekyll build + - bundle exec jekyll build - lftp -e "mirror -R -n -e _site $REM_CWD ; exit" -u "$REM_USER,$REM_PASWD" "$REM_SERVER" artifacts: paths: |