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

jekyll configuration: using variable for dev and prod deploy dir

parent 11e37db5
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,6 @@ variables:
# JEKYLL_ENV: production
LC_ALL: C.UTF-8
BUILD_DIR: public/
DEPLOY_DIR: public_html/TLLALinearity2022/
cache:
paths:
......@@ -16,8 +15,6 @@ cache:
.build:
stage: build
variables:
CONFIG: _config.yml
before_script:
- apt-get update -qy
- gem install bundler
......@@ -62,17 +59,21 @@ build.dev:
build.prod:
extends: .build
variables:
CONFIG: _config.yml
only:
- web.prod
deploy.dev:
extends: .deploy
variables:
DEPLOY_DIR: public_html/TLLA/dev/2022/
DEPLOY_DIR: $DEV_DEPLOY_DIR
only:
- web.dev
deploy.prod:
extends: .deploy
variables:
DEPLOY_DIR: $PROD_DEPLOY_DIR
only:
- web.prod
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