Skip to content

Instantly share code, notes, and snippets.

@odanoburu
Created June 19, 2020 22:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save odanoburu/acc7922a8be34e915290acbeb3afcb47 to your computer and use it in GitHub Desktop.
Save odanoburu/acc7922a8be34e915290acbeb3afcb47 to your computer and use it in GitHub Desktop.
Pollen CD with gitlab pages
# name of container image we use (must be on docker hub)
image: odanoburu/racket-pollen:7.7
# everything we need (Racket and Pollen) is already on the container,
# so no need to install anything (but if you want something else
# installed this is the place to do it)
before_script:
- ls # for the logs
# deploy public/ directory to Gitlab Pages
pages:
stage: deploy
script:
- raco pollen render
# quote string to avoid problems
## add whatever files you you want to deploy to this command
- "mkdir public && mv -t public *.html *.css favicon.ico"
artifacts:
paths:
- public # only publish public directory
only:
- master # only deploy master branch
FROM docker.io/racket/racket:7.7
RUN raco pkg install --batch --no-docs --auto pollen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment