1
0
mirror of https://github.com/thangisme/notes.git synced 2025-01-22 03:56:22 -05:00

Merge branch 'v0.2.5-release' of github.com:pmarsceill/just-the-docs into v0.2.5-release

This commit is contained in:
Patrick Marsceill 2019-05-13 16:42:40 -04:00
commit 501bd0169c
No known key found for this signature in database
GPG Key ID: 286B93882D828F40

18
.github/main.workflow vendored
View File

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