|
|
@ -13,9 +13,9 @@ before_script: |
|
|
|
|
|
|
|
|
|
|
|
sandbox: |
|
|
|
sandbox: |
|
|
|
script: |
|
|
|
script: |
|
|
|
- npn run build:pdf |
|
|
|
- node tools/pdf.js |
|
|
|
- hugo -F |
|
|
|
- hugo -F |
|
|
|
- npn run build:minify |
|
|
|
- node tools/minify.js |
|
|
|
- firebase use default |
|
|
|
- firebase use default |
|
|
|
- firebase deploy --token "$FIREBASE_SANDBOX_TOKEN" |
|
|
|
- firebase deploy --token "$FIREBASE_SANDBOX_TOKEN" |
|
|
|
artifacts: |
|
|
|
artifacts: |
|
|
@ -28,9 +28,9 @@ prod: |
|
|
|
variables: |
|
|
|
variables: |
|
|
|
HUGO_ENV: production |
|
|
|
HUGO_ENV: production |
|
|
|
script: |
|
|
|
script: |
|
|
|
- npn run build:pdf |
|
|
|
- node tools/pdf.js |
|
|
|
- hugo --baseURL https://2019.devfesttoulouse.fr/ |
|
|
|
- hugo --baseURL https://2019.devfesttoulouse.fr/ |
|
|
|
- npn run build:minify |
|
|
|
- node tools/minify.js |
|
|
|
- firebase use prod |
|
|
|
- firebase use prod |
|
|
|
- firebase deploy --token "$FIREBASE_PROD_TOKEN" |
|
|
|
- firebase deploy --token "$FIREBASE_PROD_TOKEN" |
|
|
|
artifacts: |
|
|
|
artifacts: |
|
|
|