Commit b5c80949 authored by Kevin Lin's avatar Kevin Lin

Add generic setup for CSE courseweb runner

parent dcdc7d9b
image: ruby:2.6
stages:
- build
- deploy
variables:
JEKYLL_ENV: production
LC_ALL: en_US.UTF-8
cache:
paths:
- _vendor/ruby
- _gems
key: dependencies-shared-across-all-branches
before_script:
- export PATH="$(pwd)/_gems/bin:$PATH"
- export GEM_HOME="$(pwd)/_gems/"
- gem install bundler
- bundle config set path '_vendor'
- bundle install
test:
stage: build
tags:
- courseweb
script:
- bundle exec jekyll build -d test
artifacts:
paths:
- test
except:
- master
pages:
stage: build
tags:
- courseweb
script:
- bundle exec jekyll build -d public
artifacts:
paths:
- public
only:
- master
courseweb:
stage: deploy
tags:
- courseweb
before_script:
- ''
script: /www/utils/deploycourseweb.sh
cache: {}
variables:
course: cseXXX
quarter: XXxx
source_path: public
GIT_STRATEGY: none
only:
- master
dependencies:
- pages
......@@ -17,8 +17,8 @@ title: Just the Class
tagline: A Jekyll template for course websites
description: A modern, highly customizable, responsive Jekyll template for course websites
author: Kevin Lin
baseurl: '/just-the-class' # the subpath of your site, e.g. /blog
url: 'https://kevinl.info' # the base hostname & protocol for your site, e.g. http://example.com
baseurl: '/courses/cseXXX/XXxx' # the subpath of your site, e.g. /blog
url: 'https://courses.cs.washington.edu' # the base hostname & protocol for your site, e.g. http://example.com
exclude: ["Gemfile", "Gemfile.lock", "LICENSE", "README.md"]
# Theme settings
......@@ -28,11 +28,12 @@ search_enabled: true
heading_anchors: true
permalink: pretty
aux_links:
Kevin Lin:
- 'https://kevinl.info'
Just the Class on GitHub:
- 'https://github.com/kevinlin1/just-the-class'
footer_content:
Advising:
- 'https://cs.washington.edu/academics/ugrad/advising'
Feedback:
- 'https://feedback.cs.washington.edu/'
aux_links_new_tab: true
footer_content: 'Kevin Lin &copy; 2020 <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a>'
# Collections for website data
collections:
......
favicon.ico

1.12 KB

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment