Skip to content
Snippets Groups Projects
Commit 7d4b7623 authored by Stefano Guerrini's avatar Stefano Guerrini
Browse files

CI TLLA 2021 cache dir

parent 3d783f37
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment