Skip to content

Update Spatial Data #53

Update Spatial Data

Update Spatial Data #53

Workflow file for this run

name: Update Spatial Data
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 5'
jobs:
update:
name: Update Spatial Data
runs-on: ubuntu-latest
env:
NODE_OPTIONS: "--max_old_space_size=8192"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node env
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: |
npm install
- name: Update Route Data
run: |
npm run update-spatial
- name: Commit and Push data
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update Spatial data
file_pattern: 'public/api/spatial/**'
commit_author: kennyfong19931 <kennyfong19931@users.noreply.github.com>