Skip to content

Build on branch save_downloaded_files #18

Build on branch save_downloaded_files

Build on branch save_downloaded_files #18

Workflow file for this run

name: download-data
on:
push:
branches:
- save_downloaded_files
# Allows the workflow to be run manually from the Actions tab
workflow_dispatch:
jobs:
download-data-json:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: download data
uses: ./.github/actions/download-from-s3
with:
file-path: data.json
- name: download schedule vs realtime
uses: ./.github/actions/download-from-s3
with:
file-path: schedule_vs_realtime_all_day_types_routes.json
- uses: oleksiyrudenko/gha-git-credentials@v2-latest
with:
token: '${{ secrets.GITHUB_TOKEN }}'
- run: |
git add .
git commit -m 'Add updated route data that was downloaded from s3'