Skip to content

Commit b05418e

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 9dcf4f3 + e03d1d2 commit b05418e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
description: Skip package release and publish documentation only
77
default: false
88
type: boolean
9+
skip_docs:
10+
description: Skip publishing the documentation
11+
default: false
12+
type: boolean
913
dry_run:
1014
description: Run package release in "dry run" mode (does not publish either)
1115
default: false
@@ -56,7 +60,7 @@ jobs:
5660
name: Publish documentation from "${{ github.ref_name }}" branch to ${{ inputs.docs_env }}
5761
runs-on: ubuntu-latest
5862
# skip during dry runs, publish to production only from master or branches with names starting with "release", publish to staging from anywhere
59-
if: ${{ !inputs.dry_run && (((github.ref_name == 'master' || startsWith(github.ref_name, 'release')) && inputs.docs_env == 'production') || inputs.docs_env == 'staging') }}
63+
if: ${{ !inputs.dry_run && !inputs.skip_docs && (((github.ref_name == 'master' || startsWith(github.ref_name, 'release')) && inputs.docs_env == 'production') || inputs.docs_env == 'staging') }}
6064
outputs:
6165
target-version: $${{ steps.target-version.outputs }}
6266
steps:

0 commit comments

Comments
 (0)