Skip to content
Snippets Groups Projects
Commit 8a11d61e authored by Esa Parkkila's avatar Esa Parkkila :speech_balloon:
Browse files

Update .gitlab-ci.yml

parent cb15a461
No related branches found
No related tags found
No related merge requests found
Pipeline #31677 passed
# The Docker image that will be used to build your app
image: ruby:2.7
# Functions that should be executed before the build script is run
before_script: []
pages:
script:
- gem install bundler
......@@ -7,7 +9,9 @@ pages:
- bundle exec jekyll build -d public
artifacts:
paths:
# The folder that contains the files to be exposed at the Page URL
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
environment: production
\ No newline at end of file
# This ensures that only pushes to the default branch will trigger
# a pages deploy
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment