Skip to content

Commit c9c003e

Browse files
committed
Add .gitlab-ci.yml from template
1 parent e9ad6fb commit c9c003e

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.gitlab-ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This file is a template, and might need editing before it works on your project.
2+
# Template project: https://gitlab.com/pages/jekyll
3+
# Docs: https://docs.gitlab.com/ce/pages/
4+
image: ruby:2.3
5+
6+
variables:
7+
JEKYLL_ENV: production
8+
9+
before_script:
10+
- bundle install
11+
12+
test:
13+
stage: test
14+
script:
15+
- bundle exec jekyll build -d test
16+
artifacts:
17+
paths:
18+
- test
19+
except:
20+
- master
21+
22+
pages:
23+
stage: deploy
24+
script:
25+
- bundle exec jekyll build -d public
26+
artifacts:
27+
paths:
28+
- public
29+
only:
30+
- master
31+

0 commit comments

Comments
 (0)