FIX #26 set HUGO_ENV for production

master
Igor Laborie 6 years ago
parent 94bfc6f413
commit 387b689208
  1. 4
      .gitlab-ci.yml

@ -24,8 +24,10 @@ sandbox:
- develop - develop
prod: prod:
variables:
HUGO_ENV: production
script: script:
- HUGO_ENV=production; hugo --baseURL https://2019.devfesttoulouse.fr/ - hugo --baseURL https://2019.devfesttoulouse.fr/
- node themes/devfest-theme-hugo/minify.js - node themes/devfest-theme-hugo/minify.js
- firebase use prod - firebase use prod
- firebase deploy --token "$FIREBASE_PROD_TOKEN" - firebase deploy --token "$FIREBASE_PROD_TOKEN"

Loading…
Cancel
Save