From 8aa5982cd59d5686ca438aa55d4984b52fcea449 Mon Sep 17 00:00:00 2001
From: Patrick Marsceill <pmarsceill@users.noreply.github.com>
Date: Wed, 6 Feb 2019 14:54:07 -0500
Subject: [PATCH] Add main.workflow

---
 .github/main.workflow | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 .github/main.workflow

diff --git a/.github/main.workflow b/.github/main.workflow
new file mode 100644
index 00000000..6a99c2d1
--- /dev/null
+++ b/.github/main.workflow
@@ -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"]
+}
-- 
GitLab