Update .gitea/workflows/deploy.yaml
Remote Build and Deploy / deploy (push) Successful in 25s

This commit is contained in:
remco committed 2026-07-11 22:08:15 +02:00
1 parent 2c9cb8c313
commit 0225d689d9
1 file changed
+8
+8
View File
@@ -21,10 +21,18 @@ jobs:
# 1. Navigate to your project directory on the bare metal VPS
cd /var/www/atom-nexst/
# [OPTIONEEL] Verwijder of verplaats hier lokale bestanden die NIET in Git staan en in de weg zitten
# rm -rf map-naam/
# rm -f bestand.txt
# 2. Synchronize the application files via Git
git fetch --all
git reset --hard origin/main
# [OPTIONEEL] Verwijder of verplaats hier bestanden die zojuist uit Git zijn binnengehaald, vòòr de build
# rm -rf specifieke-map-uit-git/
# mv bestand-uit-git.json /tmp/
# 3. Run database migrations natively
echo "--- Running Database Migrations ---"
pnpm db:migrate