mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-01-22 22:39:16 +08:00
15 lines
286 B
Bash
Executable File
15 lines
286 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source /etc/profile
|
|
|
|
cd $(cd "$(dirname "$0")";pwd)
|
|
git pull
|
|
|
|
shopt -s expand_aliases
|
|
alias php='/usr/local/php/bin/php'
|
|
export PHP_RET=$(. ./start-ci.sh | tail -1)
|
|
|
|
git add -A adblock-for-dnsmasq.conf origin-files/*
|
|
git commit -am "auto commit. $PHP_RET"
|
|
git push --force
|