Skip to content

Sync events

Sync events #3

Workflow file for this run

name: Sync events
on:
schedule:
- cron: '30 5,17 * * *'
workflow_dispatch:
jobs:
kronos:
runs-on: ubuntu-latest
name: Sync events
steps:
- uses: actions/[email protected]
- name: Run bot
env:
DISCORD_TOKEN: ${{ secrets.DiscordToken }}
run: |
cd content/pl/wydarzenia
docker run -e DISCORD_TOKEN="$DISCORD_TOKEN" -v "$PWD":/home/appuser/bot ghcr.io/hs3city/kronos:main
- name: Commit Changes
uses: stefanzweifel/[email protected]
with:
commit_message: Sync Discord events