Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Miroslav Kratochvil
jekyll-theme-lcsb-default
Commits
de0e6d18
Commit
de0e6d18
authored
Aug 02, 2018
by
Jacek Lebioda
Browse files
#18 Automatic upload to ruby gems on tags (requires adding api key in settings)
parent
894ee7e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
de0e6d18
...
...
@@ -3,6 +3,12 @@ image: ruby:2.5
variables
:
JEKYLL_ENV
:
production
stages
:
-
test
-
pages
-
deploy
-
release
before_script
:
-
bundle install
...
...
@@ -26,3 +32,11 @@ pages:
only
:
-
master
release
:
stage
:
release
script
:
-
echo "$API_KEY_B64" | base64 --decode > ~/.gem/credentials && chmod 0600 ~/.gem/credentials
-
gem build jekyll-theme-lcsb-default.gemspec
-
gem push jekyll-theme-lcsb-default*.gem
only
:
-
tags
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment