updated notification channel config for firebase and apn

This commit is contained in:
Ronald A. Richardson
2024-02-21 18:16:15 +08:00
parent 830ae69b1d
commit bd0759881f
5 changed files with 71 additions and 11 deletions

22
scripts/update.sh Normal file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
# Exit the script as soon as a command fails
set -e
echo "Switching to the main branch..."
# git checkout main
echo "Updating submodules..."
git submodule update --init --recursive
echo "Updating console..."
cd console
git checkout main
git pull
cd ..
echo "Building Docker images..."
docker-compose build console
docker-compose build application
echo "Update completed. Run \`docker-compose up -d\` to launch!"