diff --git a/.github/main.workflow b/.github/main.workflow
index e4806f2f800d79f92ef70dbbdb18a4eb77e191ec..009259749e3d2ffbadd2f3d2955606e7c892e4ec 100644
--- a/.github/main.workflow
+++ b/.github/main.workflow
@@ -8,7 +8,7 @@ workflow "Publish to RubyGems" {
 
 action "Build from Gemspec" {
   uses = "scarhand/actions-ruby@master"
-  runs = "gem build *.gemspec"
+  runs = "gem build just-the-docs.gemspec"
 }
 
 action "Publish to Ruby Gems" {