This commit is contained in:
1 parent
2c9cb8c313
commit
0225d689d9
1 file changed
+8
@@ -21,10 +21,18 @@ jobs:
|
|||||||
# 1. Navigate to your project directory on the bare metal VPS
|
# 1. Navigate to your project directory on the bare metal VPS
|
||||||
cd /var/www/atom-nexst/
|
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
|
# 2. Synchronize the application files via Git
|
||||||
git fetch --all
|
git fetch --all
|
||||||
git reset --hard origin/main
|
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
|
# 3. Run database migrations natively
|
||||||
echo "--- Running Database Migrations ---"
|
echo "--- Running Database Migrations ---"
|
||||||
pnpm db:migrate
|
pnpm db:migrate
|
||||||
|
|||||||
Reference in new issue
Block a user