Skip to content

Create rav4.json

Create rav4.json #6

name: Build Vehicle Profiles
on:
push:
branches:
- main
paths:
- 'vehicle_profiles/**'
- '.vehicle_profiles/**'
- '.github/workflows/vehicle_profiles.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: |
cd .vehicle_profiles
npm ci
npm run build
cd -
- name: Commit
uses: EndBug/add-and-commit@v9
with:
add: 'vehicle_profiles.json'
author_name: Jay Oswald
author_email: jay@oswald.net.au