From a8735e10af4ac05755cca038cc8c8cd779909908 Mon Sep 17 00:00:00 2001 From: dcjohnson24 Date: Tue, 31 Oct 2023 12:10:55 -0500 Subject: [PATCH] change branch to main. Remove 'on push' --- .github/workflows/download-data.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/download-data.yml b/.github/workflows/download-data.yml index 026962a3..5e8bf1b1 100644 --- a/.github/workflows/download-data.yml +++ b/.github/workflows/download-data.yml @@ -8,11 +8,6 @@ on: # Allows the workflow to be run manually from the Actions tab workflow_dispatch: - push: - branches: - - github-action - - jobs: download-data-json: runs-on: macos-latest @@ -25,13 +20,12 @@ jobs: https://chn-ghost-buses-public.s3.us-east-2.amazonaws.com/frontend_data_files/schedule_vs_realtime_all_day_types_routes.json \ -O src/Routes/schedule_vs_realtime_all_day_types_routes.json - # Change the branch to main when ready to merge to main. - run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add . git diff-index --quiet HEAD || git commit -m "update data.json and schedule_vs_realtime_all_day_types_routes.json" -a - git push origin github-action:github-action + git push origin main:main