Skip to content

Commit 8aa5982

Browse files
authored
Add main.workflow
1 parent 20f2121 commit 8aa5982

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/main.workflow

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
workflow "Publish to RubyGems" {
2+
on = "release"
3+
resolves = ["scarhand/actions-ruby@master"]
4+
}
5+
6+
action "Build from Gemspec" {
7+
uses = "scarhand/actions-ruby@master"
8+
runs = "build just-the-docs.gemspec"
9+
}
10+
11+
action "scarhand/actions-ruby@master" {
12+
uses = "scarhand/actions-ruby@master"
13+
needs = ["Build from Gemspec"]
14+
runs = "push *.gem"
15+
secrets = ["RUBYGEMS_AUTH_TOKEN"]
16+
}

0 commit comments

Comments
 (0)