File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5555 docs_release :
5656 name : Publish documentation from "${{ github.ref_name }}" branch to ${{ inputs.docs_env }}
5757 runs-on : ubuntu-latest
58- # skip during dry runs, publish to production only from branches with names starting with "release", publish to staging from anywhere
59- if : ${{ !inputs.dry_run && ((startsWith(github.ref_name, 'release') && inputs.docs_env == 'production') || inputs.docs_env == 'staging') }}
58+ # 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') }}
6060 outputs :
6161 target-version : $${{ steps.target-version.outputs }}
6262 steps :
You can’t perform that action at this time.
0 commit comments