mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-16 08:02:24 -06:00
Update main.workflow
This commit is contained in:
parent
9a076b48ac
commit
0254d9961a
18
.github/main.workflow
vendored
18
.github/main.workflow
vendored
@ -1,16 +1,26 @@
|
|||||||
workflow "Publish to RubyGems" {
|
workflow "Publish to RubyGems" {
|
||||||
on = "release"
|
on = "release"
|
||||||
resolves = ["scarhand/actions-ruby@master"]
|
resolves = [
|
||||||
|
"Publish to GPR",
|
||||||
|
"Publish to Ruby Gems",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
action "Build from Gemspec" {
|
action "Build from Gemspec" {
|
||||||
uses = "scarhand/actions-ruby@master"
|
uses = "scarhand/actions-ruby@master"
|
||||||
runs = "build *.gemspec"
|
runs = "gem build *.gemspec"
|
||||||
}
|
}
|
||||||
|
|
||||||
action "scarhand/actions-ruby@master" {
|
action "Publish to Ruby Gems" {
|
||||||
uses = "scarhand/actions-ruby@master"
|
uses = "scarhand/actions-ruby@master"
|
||||||
needs = ["Build from Gemspec"]
|
needs = ["Build from Gemspec"]
|
||||||
runs = "push *.gem"
|
runs = "gem push *.gem"
|
||||||
secrets = ["RUBYGEMS_AUTH_TOKEN"]
|
secrets = ["RUBYGEMS_AUTH_TOKEN"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
action "Publish to GPR" {
|
||||||
|
uses = "scarhand/actions-ruby@master"
|
||||||
|
needs = ["Build from Gemspec"]
|
||||||
|
secrets = ["GPR_AUTH_TOKEN"]
|
||||||
|
runs = " gem push --key github --host https://rubygems.pkg.github.com/pmarsceill *.gem"
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user