Skip to content

Commit

Permalink
Merge pull request #369 from bkeepers/github-actions
Browse files Browse the repository at this point in the history
Automate Rubygems Releases with Actions
  • Loading branch information
Andrew Nordman committed Feb 21, 2019
2 parents bf13d26 + 8418d59 commit 4168b83
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
workflow "Publish Gems" {
resolves = [
"Release dotenv",
"Release dotenv-rails",
]
on = "release"
}

action "Release dotenv" {
uses = "cadwallion/publish-rubygems-action@master"
secrets = ["GITHUB_TOKEN", "RUBYGEMS_API_KEY"]
env = {
RELEASE_COMMAND = "rake dotenv:release"
}
}

action "Release dotenv-rails" {
uses = "cadwallion/publish-rubygems-action@master"
secrets = ["GITHUB_TOKEN", "RUBYGEMS_API_KEY"]
env = {
RELEASE_COMMAND = "rake dotenv-rails:release"
}
}

0 comments on commit 4168b83

Please sign in to comment.