Skip to content

Build organization list #557

Build organization list

Build organization list #557

Workflow file for this run

name: Build organization list
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run script
run: python build.py
- name: Commit and push if changed
run: |-
git diff
git config --global user.email "[email protected]"
git config --global user.name "ORGS-bot"
git add orgs.json
git commit -m "Updated DCB1596 accredited organisations" || exit 0
git push