diff --git a/TLLA/gitlab-ci-2021.yml b/TLLA/gitlab-ci-2021.yml index e848ac810f61c1925849dcdaec39a7bf0ab155e0..a09ad1fb89319013fb96d6863d9eb8e72440d4bf 100644 --- a/TLLA/gitlab-ci-2021.yml +++ b/TLLA/gitlab-ci-2021.yml @@ -7,10 +7,7 @@ stages: variables: LC_ALL: C.UTF-8 BUILD_DIR: public/ - -cache: - paths: - - vendor/bundle/ + CACHE_DIR: vendor/bundle/ .build: stage: build @@ -18,13 +15,16 @@ cache: - apt-get update -qy - gem install bundler - cd web/ - - bundle config set --local path 'vendor/bundle' + - bundle config set --local path $CACHE_DIR - bundle install script: - bundle exec jekyll build -d $BUILD_DIR --config $CONFIG artifacts: paths: - web/$BUILD_DIR + cache: + paths: + - web/$CACHE_DIR .deploy: stage: deploy