2019-04-04 08:22:37 +00:00
|
|
|
#!/bin/bash
|
2018-10-04 21:37:00 +08:00
|
|
|
|
|
|
|
source /etc/profile
|
|
|
|
|
2018-10-08 10:59:06 +08:00
|
|
|
cd $(cd "$(dirname "$0")";pwd)
|
2018-10-10 09:23:35 +08:00
|
|
|
git pull
|
2018-10-08 10:59:06 +08:00
|
|
|
|
2020-01-19 16:33:43 +08:00
|
|
|
shopt -s expand_aliases
|
|
|
|
alias php='/usr/local/php/bin/php'
|
2020-01-19 16:51:17 +08:00
|
|
|
export PHP_RET=$(. ./start-ci.sh | tail -1)
|
2018-10-04 21:37:00 +08:00
|
|
|
|
2019-12-14 21:29:41 +08:00
|
|
|
git add -A adblock-for-dnsmasq.conf origin-files/*
|
2019-10-19 19:39:59 +08:00
|
|
|
git commit -am "auto commit. script output--- $PHP_RET"
|
2018-10-10 09:23:35 +08:00
|
|
|
git push --force
|