chore(travis): update cron script

pull/1/head
ikatyang 2017-07-16 00:19:14 +08:00
parent c406bbcb35
commit 91caa1b387
2 changed files with 10 additions and 1 deletions

View File

@ -8,7 +8,7 @@ script:
- yarn run test -- --verbose --coverage
after_success:
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then yarn run generate; fi
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then bash ./scripts/deploy.sh; fi
cache:
yarn: true

View File

@ -0,0 +1,9 @@
yarn run generate
git config --global user.name ikatyang-bot
git config --global user.email ikatyang+bot@gmail.com
git config --global push.default simple
git add --all
git commit -m "docs(readme): update emoji-cheat-sheet"
git push -q