Skip to content

Commit

Permalink
Add main.workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pmarsceill authored Feb 6, 2019
1 parent 20f2121 commit 8aa5982
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
workflow "Publish to RubyGems" {
on = "release"
resolves = ["scarhand/actions-ruby@master"]
}

action "Build from Gemspec" {
uses = "scarhand/actions-ruby@master"
runs = "build just-the-docs.gemspec"
}

action "scarhand/actions-ruby@master" {
uses = "scarhand/actions-ruby@master"
needs = ["Build from Gemspec"]
runs = "push *.gem"
secrets = ["RUBYGEMS_AUTH_TOKEN"]
}

0 comments on commit 8aa5982

Please sign in to comment.