Skip to content

Commit

Permalink
bash replace
Browse files Browse the repository at this point in the history
  • Loading branch information
erinaldidb committed Mar 5, 2024
1 parent 669932c commit 03040c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dlt_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,13 @@ jobs:
env:
PIPELINE_ORIGIN_NAME: dlt_sample_pipeline
PIPELINE_ORIGIN_SCHEMA: base_schema_name
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
BANDLE_NAME: dlt_sample
run: |
BRANCH_NAME=`echo "$BRANCH_NAME" | sed -r 's/[/]+/_/g'`
sed -i -e s/${PIPELINE_ORIGIN_NAME}/${PIPELINE_ORIGIN_NAME}_${BRANCH_NAME}/g resources/dlt_sample_pipeline.yml
sed -i -e s/${PIPELINE_ORIGIN_SCHEMA}/${PIPELINE_ORIGIN_SCHEMA}_${BRANCH_NAME}/g resources/dlt_sample_pipeline.yml
sed -i -e s/${BANDLE_NAME}/${BANDLE_NAME}_${BRANCH_NAME}/g databricks.yml
# Deploy the bundle to the "qa" target as defined
# in the bundle's settings file.
Expand Down

0 comments on commit 03040c9

Please sign in to comment.