Skip to content

V0.17 + README

V0.17 + README #53

name: Generate the examples index
on:
push:
branches:
- main
# also build on demand
workflow_dispatch:
jobs:
generate-index:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: generate examples.json
run: |
./generate-index.sh > examples.json
- name: setup git config
run: |
# need username and email for commit
git config user.name "generate-index Action"
git config user.email "<>"
- name: commit
run: |
git add examples.json
git commit -m "update examples.json" || echo "No changes to commit"
git push origin main