mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2024-11-09 00:14:37 +00:00
9 lines
278 B
Bash
9 lines
278 B
Bash
set -ev
|
|
|
|
# if [ "$TRAVIS_EVENT_TYPE" != "cron" ]; then exit 0; fi
|
|
|
|
cd src
|
|
love-release
|
|
sudo xvfb-run -a --server-args="-screen 0 1024x768x24" love "releases/CaveStoryRandomizer.love" --daily
|
|
cat daily.txt
|
|
curl -H "Content-Type: application/json" -X POST -d @daily.txt "$WEBHOOK" |