Skip to content

.github/workflows/main.yml #8095

.github/workflows/main.yml

.github/workflows/main.yml #8095

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 "action@github.com"
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/github-push-action@v0.6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
directory: main