Skip to content

Commit

Permalink
Merge pull request #24 from zendesk/jury.razumau/publishing_workflow
Browse files Browse the repository at this point in the history
add publishing workflow
  • Loading branch information
razumau authored Oct 10, 2023
2 parents 9131095 + 8a72069 commit ad6d764
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Publish public gem

on:
push:
tags: v*

jobs:
call-workflow:
uses: zendesk/gw/.github/workflows/ruby-gem-publication.yml@main
secrets:
RUBY_GEMS_API_KEY: ${{ secrets.RUBY_GEMS_API_KEY }}
RUBY_GEMS_TOTP_DEVICE: ${{ secrets.RUBY_GEMS_TOTP_DEVICE }}
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
require 'bundler/gem_tasks'
require 'bump/tasks'
require 'rspec/core/rake_task'

ENV["gem_push"] = "false"

RSpec::Core::RakeTask.new(:spec)

task default: :spec
1 change: 0 additions & 1 deletion phenix.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Gem::Specification.new do |s|

s.add_development_dependency 'rake', '>= 12.3.3'
s.add_development_dependency 'rspec', '~> 3.4'
s.add_development_dependency 'bump'
s.add_development_dependency 'mysql2'
s.add_development_dependency 'single_cov'
end

0 comments on commit ad6d764

Please sign in to comment.