Skip to content

Commit ba7b2c4

Browse files
committed
Try to fix website on pushing tags
1 parent 46c77ab commit ba7b2c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/website.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
description: "Publish guides to website?"
1212
type: boolean
1313
required: true
14+
default: true
1415
publish_version:
1516
description: "If present, pull this GraphQL-Ruby version to rebuild API docs"
1617
required: false
@@ -19,7 +20,7 @@ on:
1920
permissions: {}
2021
jobs:
2122
website:
22-
if: ${{ inputs.publish_website }}
23+
if: ${{ inputs.publish_website || github.ref_name }}
2324
permissions:
2425
contents: write # for git push (s0/git-publish-subdir-action)
2526
name: Publish Website

0 commit comments

Comments
 (0)