Skip to content

Download and Build #208

Download and Build

Download and Build #208

Workflow file for this run

name: Download and Build
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * 0'
jobs:
download:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GH_TOKEN }}
- uses: actions/setup-node@v2
with:
node-version: '16'
- run: npm ci
- name: Run Download
run: npm run download
- name: Run Build Addresses By Ward
run: npm run build:wardAddresses
- name: Run Build Distinct Streets
run: npm run build:distinctStreets
- name: Commit latest data
run: |
git config --global user.name 'cityssm-bot'
git config --global user.email 'cityssm-bot@users.noreply.github.com'
git commit -am "Latest data"
git push