aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorgabriel giovanini <gabrielg.desouza@gmail.com>2020-05-10 17:15:43 +0000
committergabriel giovanini <gabrielg.desouza@gmail.com>2020-05-10 17:15:43 +0000
commit02694e48c036b03efffd008a9c95f79e92a5bbf7 (patch)
tree1827a825555262287039333bed84e9edfc163bdb /.gitlab-ci.yml
parentb9444f5eda1ad352e05d66e5550942957d43ffad (diff)
downloadgabrielgio.me-02694e48c036b03efffd008a9c95f79e92a5bbf7.tar.gz
gabrielgio.me-02694e48c036b03efffd008a9c95f79e92a5bbf7.tar.bz2
gabrielgio.me-02694e48c036b03efffd008a9c95f79e92a5bbf7.zip
Add .gitlab-ci.yml
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..b0e8b94
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,32 @@
+# This file is a template, and might need editing before it works on your project.
+# Template project: https://gitlab.com/pages/jekyll
+# Docs: https://docs.gitlab.com/ce/pages/
+image: ruby:2.6
+
+variables:
+ JEKYLL_ENV: production
+ LC_ALL: C.UTF-8
+
+before_script:
+ - gem install bundler
+ - bundle install
+
+test:
+ stage: test
+ script:
+ - bundle exec jekyll build -d test
+ artifacts:
+ paths:
+ - test
+ except:
+ - master
+
+pages:
+ stage: deploy
+ script:
+ - bundle exec jekyll build -d public
+ artifacts:
+ paths:
+ - public
+ only:
+ - master