Discord Market Notification Cron Job #110129
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
# Posts the market values for the global room to Discord periodically. | |
name: Discord Market Notification Cron Job | |
on: | |
schedule: | |
- cron: '*/15 * * * *' # Every 15 minutes | |
jobs: | |
cron: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Call Publish Endpoint | |
run: | | |
curl --request GET \ | |
--url 'https://farmhand.vercel.app/api/publish-global-market-values-to-discord' |