Skip to content

Commit

Permalink
Allow building lesson using GitLab Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
unode committed Nov 25, 2020
1 parent c4b6e23 commit 2cf88bd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
image:
name: carpentries/lesson-docker:latest
entrypoint: [""]

variables:
LC_ALL: "C.UTF-8"
MAKEFLAGS: "-j 8"
JEKYLL_ENV: "production"

pages:
stage: deploy
script:
- make site
- mv _site public
artifacts:
paths:
- public
only:
- gh-pages

0 comments on commit 2cf88bd

Please sign in to comment.