Skip to content

.github/workflows/main.yml #7555

.github/workflows/main.yml

.github/workflows/main.yml #7555

Workflow file for this run

on:
workflow_dispatch:
schedule:
- cron: "15 0,2,4,8,12 * * *"
jobs:
extract_job:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
path: main
- name: Checkout data repo
uses: actions/checkout@v2
with:
repository: CSSEGISandData/COVID-19
path: data
- name: Hello world action step
uses: ./main/
id: hello
- name: Commit files
run: |
cd main
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git diff-index --quiet HEAD || git commit -m "Update json" -a
- name: Push changes
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
directory: main