Skip to content

Hourly API Sync

Hourly API Sync #4

Workflow file for this run

name: Hourly API Sync
on:
schedule:
- cron: '0 * * * *'
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: openapitools/openapi-generator-cli@v2.39.0
with:
generator: java
openapi-file: https://api.darkstone.de/v3/api-docs
command-args: -o .
- run: |
git config user.name "bot"
git config user.email "bot@darkstone.de"
git commit -am "update" && git push || true