We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d7cfbe commit 56ad37fCopy full SHA for 56ad37f
.github/workflows/ci-cd-pipeline.yml
@@ -42,9 +42,8 @@ jobs:
42
uses: ./.github/workflows/lint-and-test.yml
43
secrets: inherit
44
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
- }}
+ target_env: >-
+ ${{ (github.ref == 'refs/heads/main' || github.base_ref == 'main') && 'production'
+ || (github.ref == 'refs/heads/development' || github.base_ref == 'development') && 'development' }}
49
node-version: "22.4.1"
50
skip_deploy: ${{ github.event_name == 'pull_request' }} # skip deployment if it's a pull request
0 commit comments