Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
website
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
teaching-materials
website
Commits
2db4082b
Commit
2db4082b
authored
4 years ago
by
Jennifer Mankoff
Browse files
Options
Downloads
Patches
Plain Diff
Add .gitlab-ci.yml
parents
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+33
-0
33 additions, 0 deletions
.gitlab-ci.yml
with
33 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
33
−
0
View file @
2db4082b
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment