Skip to content

Commit 1438b24

Browse files
authored
better check (#34)
1 parent 2bd3cf2 commit 1438b24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
echo "url=$url" >> $GITHUB_OUTPUT
4040
deploy:
4141
needs: environment
42-
if: ${{ needs.environment.outputs.environment }}
42+
if: ${{ needs.environment.outputs.environment != '' }}
4343
environment:
4444
name: ${{ needs.environment.outputs.environment }}
4545
url: ${{ needs.environment.outputs.environment }}.example.com

0 commit comments

Comments
 (0)