From 387b6892083b1c28492c1b5b00fa38d1aa3056ca Mon Sep 17 00:00:00 2001 From: Igor Laborie Date: Tue, 19 Feb 2019 20:24:14 +0100 Subject: [PATCH] FIX #26 set HUGO_ENV for production --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1364e3e..84e6e6e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,8 +24,10 @@ sandbox: - develop prod: + variables: + HUGO_ENV: production script: - - HUGO_ENV=production; hugo --baseURL https://2019.devfesttoulouse.fr/ + - hugo --baseURL https://2019.devfesttoulouse.fr/ - node themes/devfest-theme-hugo/minify.js - firebase use prod - firebase deploy --token "$FIREBASE_PROD_TOKEN"