Skip to content
Snippets Groups Projects
Commit 2db4082b authored by Jennifer Mankoff's avatar Jennifer Mankoff
Browse files

Add .gitlab-ci.yml

parents
No related branches found
No related tags found
No related merge requests found
image: ruby:2.4
cache:
paths:
- vendor/
variables:
GIT_SUBMODULE_STRATEGY: recursive
JEKYLL_ENV: production
before_script:
- mkdir public
- bundle install --path vendor
- export LANG=en_US.UTF-8
- export LANGUAGE=en_US:en
- export LC_ALL=en_US.UTF-8
deploy_production:
stage: deploy
tags:
- courseweb
script:
- cp _config_production.yml _config.yml
- cp _layouts/presentation_production.html _layouts/presentation.html
- bundle exec jekyll build -d public
- /www/utils/deploycourseweb.sh
variables:
quarter: eg21wi
course: egcse340
source_path: public
only:
refs:
- egCSE340-WI21
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment