Skip to content

Update Library Index Task #23253

Update Library Index Task

Update Library Index Task #23253

Workflow file for this run

name: Update Library Index Task
on:
workflow_dispatch:
schedule:
- cron: '42 * * * *'
jobs:
exporter:
runs-on: ubuntu-20.04
name: Update Library Index
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Install NPM dependencies
run: npm ci
- name: Fetch library index
run: npm start
- name: Commit changes
run: |
git add -A
git config user.email "[email protected]"
git config user.name "Wokwi Update"
if ! git diff-index --quiet HEAD; then
git commit -m "sync $(date -u +%Y-%m-%dT%H:%M:%SZ)"
fi
- name: Push changes
run: git push