1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-13 10:15:41 +08:00
SpaceVim/.gitlab-ci.yml

19 lines
543 B
YAML
Raw Normal View History

2023-09-24 00:44:52 +00:00
# The Docker image that will be used to build your app
2023-09-24 08:14:41 +08:00
image: ruby:2.7
2023-09-24 00:44:52 +00:00
# Functions that should be executed before the build script is run
before_script: []
2023-09-24 08:14:41 +08:00
pages:
script:
2023-09-24 00:44:52 +00:00
- cd docs
2023-09-24 08:14:41 +08:00
- gem install bundler
- bundle install
2023-09-24 00:44:52 +00:00
- bundle exec jekyll build -d ../public
2023-09-24 08:14:41 +08:00
artifacts:
paths:
2023-09-24 00:44:52 +00:00
# The folder that contains the files to be exposed at the Page URL
2023-09-24 08:14:41 +08:00
- public
2023-09-24 00:44:52 +00:00
rules:
# This ensures that only pushes to the default branch will trigger
# a pages deploy
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH