Skip to content

Commit 51508b5

Browse files
Refactor browser setup in deploy workflow and add IntelliJ IDEA configuration files
1 parent 3298e0c commit 51508b5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ jobs:
4242
- name: Set browsers
4343
id: set-browsers
4444
run: |
45-
BROWSERS='${{ github.event.inputs.browser || '["chrome", "firefox"]' }}'
45+
|
46+
BROWSERS="${{ github.event.inputs.browser }}"
47+
if [ -z "$BROWSERS" ]; then
48+
BROWSERS='["chrome", "firefox"]'
49+
fi
4650
echo "browsers=$BROWSERS" >> $GITHUB_OUTPUT
4751
4852
version-check:

0 commit comments

Comments
 (0)