Skip to content

Commit cf31577

Browse files
authored
Fix condition (#1733)
1 parent 395ee4d commit cf31577

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/preview-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ jobs:
300300
- name: 'Validate redirect rules'
301301
if: >
302302
env.MATCH == 'true'
303-
&& hashFiles('docs/_redirects.yml', 'docs/redirects.yml') != ''
303+
&& ${{ hashFiles('docs/_redirects.yml', 'docs/redirects.yml') != '' }}
304304
&& github.repository == 'elastic/docs-builder'
305305
&& (
306306
steps.deployment.outputs.result
@@ -315,7 +315,7 @@ jobs:
315315
- name: 'Validate redirect rules'
316316
if: >
317317
env.MATCH == 'true'
318-
&& hashFiles('docs/_redirects.yml', 'docs/redirects.yml') != ''
318+
&& ${{ hashFiles('docs/_redirects.yml', 'docs/redirects.yml') != '' }}
319319
&& (
320320
github.repository != 'elastic/docs-builder'
321321
&& (

0 commit comments

Comments
 (0)