Skip to content

Catch latest repokemon #89

Catch latest repokemon

Catch latest repokemon #89

Workflow file for this run

name: Catch latest repokemon
on:
workflow_dispatch:
schedule:
- cron: '0 0 1,15 * *'
jobs:
scheduled:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- env:
GH_CLIENT_ID: ${{ secrets.GH_CLIENT_ID }}
GH_CLIENT_SECRET: ${{ secrets.GH_CLIENT_SECRET }}
run: |-
npm ci
npm run build-ci
- run: |-
git config user.name "Automated"
git config user.email "[email protected]"
git add -A
timestamp=$(date -u)
git commit -m "Latest data: ${timestamp}" || exit 0
git push