mirror of
git://f0xx.org/android_cast
synced 2026-07-29 06:18:42 +03:00
try deploy 4
This commit is contained in:
@@ -14,7 +14,9 @@ echo "working branch: ${BRANCH}"
|
||||
git checkout ${BRANCH} || exit $?
|
||||
git status || exit $?
|
||||
git pull --rebase || exit $?
|
||||
if [ -f ./examples/crash_reporter/backend/config/config.php.alpine ]; then
|
||||
cp -f ./examples/crash_reporter/backend/config/config.php.alpine ./examples/crash_reporter/backend/config/config.php ||:
|
||||
if [ ! -f "./examples/crash_reporter/backend/config/config.php.alpine" ]; then
|
||||
cp -f ./examples/crash_reporter/backend/config/config.php ./examples/crash_reporter/backend/config/config.php.alpine || exit $?
|
||||
## patch config if needed
|
||||
fi
|
||||
cp -f ./examples/crash_reporter/backend/config/config.php.alpine ./examples/crash_reporter/backend/config/config.php || exit $?
|
||||
sudo -E /etc/init.d/mariadb restart; sudo -E /etc/init.d/php-fpm81 restart; sudo -E /etc/init.d/nginx restart; sudo -E /etc/init.d/gitea restart;
|
||||
|
||||
Reference in New Issue
Block a user