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-2020-site/.gitlab-ci.yml

41 lines
748 B

image: ilaborie/hugonode
variables:
5 years ago
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- hugo version
- echo node `node --version`
- echo yarn `yarn --version`
5 years ago
- pushd themes/devfest-theme-hugo
- yarn
- popd
sandbox:
script:
5 years ago
- npn run build:pdf
- hugo -F
5 years ago
- npn run build:minify
- firebase use default
- firebase deploy --token "$FIREBASE_SANDBOX_TOKEN"
artifacts:
paths:
- public
only:
- develop
prod:
variables:
HUGO_ENV: production
script:
5 years ago
- npn run build:pdf
- hugo --baseURL https://2019.devfesttoulouse.fr/
5 years ago
- npn run build:minify
- firebase use prod
- firebase deploy --token "$FIREBASE_PROD_TOKEN"
artifacts:
paths:
- public
only:
- master