You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
ozgurkon-site/.gitlab-ci.yml

39 lines
729 B

image: ilaborie/hugonode
variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- hugo version
- echo node `node --version`
- echo yarn `yarn --version`
- yarn
sandbox:
script:
- node tools/pdf.js
- hugo -F
- node tools/minify.js
- firebase use default
- firebase deploy --token "$FIREBASE_SANDBOX_TOKEN"
- ls public/schedule/
artifacts:
paths:
- public
only:
- develop
prod:
variables:
HUGO_ENV: production
script:
- node tools/pdf.js
- hugo --baseURL https://2019.devfesttoulouse.fr/
- node tools/minify.js
- firebase use prod
- firebase deploy --token "$FIREBASE_PROD_TOKEN"
artifacts:
paths:
- public
only:
- master