mirror of
https://github.com/ikatyang/emoji-cheat-sheet.git
synced 2024-12-05 06:24:38 +08:00
chore(travis): update cron script
This commit is contained in:
parent
c406bbcb35
commit
91caa1b387
@ -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
|
||||
|
9
scripts/deploy.sh
Normal file
9
scripts/deploy.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user