Update globals.lua #435
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Runs the Node.js script that generates the index.json file | |
# -Tom16 | |
name: "Generate index.json" | |
on: | |
workflow_dispatch: | |
push: | |
branches: [master] | |
# pull_request: | |
permissions: | |
contents: write | |
pull-requests: read | |
jobs: | |
generate-index: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.12.x | |
cache: npm | |
cache-dependency-path: Extras/indexer/package-lock.json | |
- name: Run indexer.js | |
run: node ./Extras/indexer/indexer.js | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update index.json |