Skip to content
Snippets Groups Projects
Commit de0e6d18 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

#18 Automatic upload to ruby gems on tags (requires adding api key in settings)

parent 894ee7e0
No related branches found
No related tags found
No related merge requests found
Pipeline #23735 failed
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment