Skip to content

CI

CI #1927

Workflow file for this run

name: CI
on:
push:
schedule:
- cron: 0 12 * * *
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: "3.7"
- name: Lint via Black
run: make lint
- name: Install dependencies
run: make install
- name: Update data
run: make update
env:
DSN_URL: ${{ secrets.DSN_URL }}
- name: Commit files
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -m "Update by GitHub Action" -a || echo "Nothing to commit"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}