Sync events #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |