Skip to content

update:

update: #12

Workflow file for this run

name: Generate Template Index
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
on:
push:
tags:
- "v*"
jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Checkout main branch
uses: actions/checkout@v4
with:
ref: main
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Generate index
run: node scripts/generateIndex.js
env:
GITHUB_REF_NAME: ${{ github.ref_name }}
- name: Commit generated index
run: |
git config user.name "quicksi-bot"
git config user.email "bot@quicksi.dev"
git add template-index.json
git diff --cached --quiet || git commit -m "chore: update index for ${{ github.ref_name }}"
git push origin main