Skip to content

Commit c0e5022

Browse files
committed
Add outputs field to on for build workflow
1 parent bc2ae66 commit c0e5022

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/docs-build-push.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ on:
4747
node_dep:
4848
type: boolean
4949
description: "Defines should we run npm ci or not"
50-
50+
outputs:
51+
PREVIEW_URL:
52+
description: String representing the URL to preview the build
53+
value: ${{ jobs.build.outputs.PREVIEW_URL }}
5154
env:
5255
GO_VERISON: "1.21" # Go version used for `hugo mod get`
5356
HUGO_VERSION: "0.134.2" # Hugo version used for building docs

0 commit comments

Comments
 (0)