1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 03:57:50 +03:00

don't merge - open passwords

This commit is contained in:
Anton Afanasyeu
2026-05-26 16:28:31 +03:00
parent ac8d4ea341
commit 64b449f6cd
2 changed files with 42 additions and 0 deletions

12
deploy_alpine.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
BRANCH=${BRANCH:-next}
CLEAN=${CLEAN:-yes}
git fetch --all --tags || exit $?
cp -f $0 /tmp/$0.backup || exit $?
git reset --hard || exit $?
cp -f ./examples/crash_reporter/backend/config/config.php.alpine /tmp/ || exit $?
cp -f ./examples/crash_reporter/backend/config/config.php.alpine ./examples/crash_reporter/backend/config/config.php || exit $?
[ "yes" = "${CLEAN}" ] && git clean -xdf
git checkout ${BRANCH} || exit $?
git pull --rebase || 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;