Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions shared-overwrite/.github/workflows/mt-download-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ jobs:
- name: MT push commits
run: ./push_commits.sh

- name: MT check if data is outdated & trigger sync
- name: MT check if data is outdated or new data downloaded & trigger sync
continue-on-error: true
run: |
if ./agency-parser/check_data_outdated.sh; then
echo ">> Data is up-to-date.";
if [[ "${MT_SKIP_PUSH_COMMIT}" != false ]] && ./agency-parser/check_data_outdated.sh; then
echo ">> No new data downloaded and data is up-to-date. No sync needed.";
else
echo ">> Data is outdated. Triggering mt-sync-code-data.yml workflow (skip download data)...";
echo ">> New data downloaded or data is outdated. Triggering mt-sync-code-data.yml workflow (skip download data)...";
gh workflow run mt-sync-code-data.yml -f skip-download-data=true
Comment thread
mmathieum marked this conversation as resolved.
fi
env:
Expand Down