Ruby + Node + Middleman for use in CI builds of middleman websites
221
Use this image to speed up Gitlab Pages builds. Here's an example .gitlab-ci.yml
# This image is built using the Dockerfile in this repo
# The image includes all gem dependencies from the Gemfile
image: kaiwren/ruby-node-middleman:latest
pages:
when: manual
allow_failure: false
script:
- mkdir public
- bundle exec middleman build
- cp -R build/** public
artifacts:
paths:
# The folder that contains the files to be exposed at the Page URL
- public
rules:
# This ensures that only pushes to the default branch will trigger
# a pages deploy
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
Content type
Image
Digest
sha256:f4f197cc6…
Size
463.6 MB
Last updated
almost 3 years ago
docker pull kaiwren/ruby-node-middleman