1
0
mirror of https://github.com/thangisme/notes.git synced 2024-07-25 03:14:19 -04:00

Merge pull request #89 from pmarsceill/github-action-for-release

Add main.workflow
This commit is contained in:
Patrick Marsceill 2019-02-13 15:42:18 -05:00 committed by GitHub
commit b44efbf1da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
.github/main.workflow vendored Normal file
View File

@ -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"]
}