Skip to content

Commit 56ad37f

Browse files
committed
ci: Minor ci fixes
1 parent 2d7cfbe commit 56ad37f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci-cd-pipeline.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ jobs:
4242
uses: ./.github/workflows/lint-and-test.yml
4343
secrets: inherit
4444
with:
45-
target_env: ${{
46-
(github.ref == 'refs/heads/main' || github.base_ref == 'main') && 'production' ||
47-
(github.ref == 'refs/heads/development' || github.base_ref == 'development') && 'development'
48-
}}
45+
target_env: >-
46+
${{ (github.ref == 'refs/heads/main' || github.base_ref == 'main') && 'production'
47+
|| (github.ref == 'refs/heads/development' || github.base_ref == 'development') && 'development' }}
4948
node-version: "22.4.1"
5049
skip_deploy: ${{ github.event_name == 'pull_request' }} # skip deployment if it's a pull request

0 commit comments

Comments
 (0)