hexo-filter-github-emojis/push.sh
2018-10-04 19:29:18 +08:00

19 lines
362 B
Bash

#!/bin/sh
setup_git() {
git config --global user.email "travis@travis-ci.org"
git config --global user.name "Travis CI"
}
commit_git() {
git add --all
git commit -am "[ci skip] Travis build: $TRAVIS_BUILD_NUMBER"
}
push_git() {
git push https://${GH_TOKEN}@github.com/crimx/hexo-filter-github-emojis.git HEAD:master
}
setup_git
commit_git
push_git