Newer
Older
cache:
paths:
- vendor/
GIT_SUBMODULE_STRATEGY: recursive
JEKYLL_ENV: production
build:
stage: build
tags:
- build
script:
- gem install bundler
- bundle install --path vendor
- mkdir public
- cp _config_production.yml _config.yml
- cp _layouts/presentation_production.html _layouts/presentation.html
- export LANG=en_US.UTF-8
- export LANGUAGE=en_US:en
- export LC_ALL=en_US.UTF-8
- bundle exec jekyll build -d public
variables:
quarter: 21sp
course: csep590a
source_path: public
artifacts:
paths:
- public/
only:
- branches
stage: deploy
tags:
- courseweb
script:
- /www/utils/deploycourseweb.sh
variables:
quarter: 21sp
course: csep590a
source_path: public