This commit is contained in:
1 parent
62db89119c
commit
6a08db8dd0
1 file changed
+5
-5
@@ -11,16 +11,16 @@ jobs:
|
|||||||
- name: Execute Build and Deploy Commands
|
- name: Execute Build and Deploy Commands
|
||||||
run: |
|
run: |
|
||||||
echo "--- Starting EPIC WEB CONTROL Deployment ---"
|
echo "--- Starting EPIC WEB CONTROL Deployment ---"
|
||||||
|
|
||||||
# 1. Navigeer direct naar de juiste map op de VPS
|
# 1. Navigeer direct naar de juiste map op de VPS
|
||||||
cd /var/www/atom-next/
|
cd /var/www/atom-next/
|
||||||
|
|
||||||
# 2. Synchroniseer de code direct via Git
|
# 2. Synchroniseer de code direct via Git
|
||||||
git fetch --all
|
git fetch --all
|
||||||
git reset --hard origin/main
|
git reset --hard origin/main
|
||||||
|
|
||||||
# 3. Voer de database migraties uit
|
# 3. Voer de database migraties uit
|
||||||
echo "--- Running Database Migrations ---"
|
echo "--- Running Database Migrations ---"
|
||||||
pnpm db:migrate
|
pnpm db:migrate
|
||||||
|
|
||||||
echo "--- Deployment Completed Successfully ---"
|
echo "--- Deployment Completed Successfully ---"
|
||||||
Reference in new issue
Block a user