Skip to content

Commit

Permalink
change branch to main. Remove 'on push'
Browse files Browse the repository at this point in the history
  • Loading branch information
dcjohnson24 committed Oct 31, 2023
1 parent 31b4bd5 commit a8735e1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/download-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit a8735e1

Please sign in to comment.