Skip to content

Test reusable action #9

Test reusable action

Test reusable action #9

Workflow file for this run

name: download-data
on:
push:
branches:
- reusable-s3-download-action
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
- 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 main:main