cave-story-randomizer/daily.sh

9 lines
276 B
Bash
Raw Normal View History

set -ev
2020-03-13 09:46:03 +00:00
if [ "$TRAVIS_EVENT_TYPE" != "cron" ]; then exit 0; fi
2020-03-13 08:46:23 +00:00
cd src
love-release
2020-03-13 09:25:12 +00:00
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"