Skip to content
name: npm run update-indexes
on:
push:
branches: "main"
paths:
- _data/things.csv
- .github/workflows/update-indexes.yml
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
update-indexes:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "20"
cache: npm
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: npm ci
- run: npm run update-indexes
- uses: stefanzweifel/git-auto-commit-action@v5