Skip to content
Snippets Groups Projects
Commit 8a4035e8 authored by Kevin Lin's avatar Kevin Lin :sparkles:
Browse files

Add generic setup for CSE courseweb runner

parent 5a9ff07b
No related branches found
No related tags found
No related merge requests found
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
delete: 'yes' # https://yaml.org/type/bool.html
GIT_STRATEGY: none
only:
- master
dependencies:
- pages
......@@ -17,9 +17,10 @@ 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"]
google_site_verification: 'QclY_1udbdKts462GzFHLmFoaioICIQ16kjZumjRJIg'
# Theme settings
remote_theme: pmarsceill/just-the-docs@v0.3.3
......@@ -28,11 +29,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:
......@@ -74,3 +76,4 @@ compress_html:
plugins:
- jekyll-seo-tag
- jekyll-sitemap
favicon.ico

1.12 KiB

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