Skip to content

Commit 13152ee

Browse files
changes
1 parent 8db34e5 commit 13152ee

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/dabs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
detect-changes:
2323
name: 'Detect folder changes'
2424
runs-on: ubuntu-latest
25+
environment: ${{inputs.environment}}
2526
outputs:
2627
apps-changed: ${{ steps.changes.outputs.apps }}
2728
packages-changed: ${{ steps.changes.outputs.packages }}
@@ -71,6 +72,7 @@ jobs:
7172
name: 'Deploy app ${{ matrix.app }} to ${{ inputs.environment }}'
7273
runs-on: ubuntu-latest
7374
needs: detect-changes
75+
environment: ${{inputs.environment}}
7476
if: needs.detect-changes.outputs.apps-changed == 'true' && needs.detect-changes.outputs.changed-apps != ''
7577
strategy:
7678
matrix:
@@ -94,7 +96,9 @@ jobs:
9496
deploy-packages:
9597
name: 'Deploy package ${{ matrix.package }} to ${{ inputs.environment }}'
9698
runs-on: ubuntu-latest
97-
needs: detect-changes
99+
needs: detect-changes
100+
environment: ${{inputs.environment}}
101+
98102
if: needs.detect-changes.outputs.packages-changed == 'true' && needs.detect-changes.outputs.changed-packages != ''
99103
strategy:
100104
matrix:

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
if: github.event_name == 'pull_request' || startsWith(github.ref, 'refs/tags/')
1616
with:
1717
workflow_name: 'Test deployment'
18-
environment: 'test'
18+
environment: 'main_free'
1919
target: 'test'
2020
secrets:
2121
DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }}
@@ -29,7 +29,7 @@ jobs:
2929
if: github.event_name == 'pull_request' || startsWith(github.ref, 'refs/tags/')
3030
with:
3131
workflow_name: 'QA deployment'
32-
environment: 'qa'
32+
environment: 'main_free'
3333
target: 'qa'
3434
secrets:
3535
DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }}

0 commit comments

Comments
 (0)