Skip to content

Commit

Permalink
Update deploy-dagster-cloud.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cnolanminich committed Nov 12, 2024
1 parent f8f7953 commit 3ff90a4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy-dagster-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ jobs:
- name: Extract changed directories
id: extract-changed-dirs
run: |
filtered_dirs=" ${{ steps.changed-files.outputs.hooli_data_eng_all_changed_files }} ${{ steps.changed-files.outputs.hooli_basics_all_changed_files }} ${{ steps.changed-files.outputs.hooli_batch_enrichment_all_changed_files }} ${{ steps.changed-files.outputs.hooli_snowflake_insights_all_changed_files }} ${{ steps.changed-files.outputs.hooli_data_ingest_all_changed_files }} ${{ steps.changed-files.outputs.hooli_bi_all_changed_files }}"
changed_files=filtered_dirs=" ${{ steps.changed-files.outputs.hooli_data_eng_all_changed_files }} ${{ steps.changed-files.outputs.hooli_basics_all_changed_files }} ${{ steps.changed-files.outputs.hooli_batch_enrichment_all_changed_files }} ${{ steps.changed-files.outputs.hooli_snowflake_insights_all_changed_files }} ${{ steps.changed-files.outputs.hooli_data_ingest_all_changed_files }} ${{ steps.changed-files.outputs.hooli_bi_all_changed_files }}"
# fix this to be an array and operate like one.
filtered_dirs=$(echo $changed_files | tr ' ' '\n' | xargs -n1 dirname | sort | uniq)
echo $changed_files
echo $filtered_dirs
echo "FILTERED_DIRS=$FILTERED_DIRS" >> $GITHUB_ENV
LOCATIONS=""
for DIR in $filtered_dirs; do
echo $DIR
Expand Down Expand Up @@ -113,7 +115,6 @@ jobs:
echo "hooli-bi directory not changed"
echo "RUN_HOOLI_BI=false" >> $GITHUB_ENV
fi
echo $filtered_dirs
echo $LOCATIONS
echo "LOCATIONS=$LOCATIONS" >> $GITHUB_ENV
Expand Down

0 comments on commit 3ff90a4

Please sign in to comment.