Merge remote-tracking branch 'nextjs/main' into codex/publish-nextjs-current

This commit is contained in:
Simo committed 2026-07-11 21:27:27 +02:00
commit 62db89119c
1 file changed
+13 -18
+13 -18
View File
@@ -6,26 +6,21 @@ on:
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-22.04 runs-on: shell
steps: steps:
- name: Checkout Repository - name: Execute Build and Deploy Commands
uses: actions/checkout@v4 run: |
echo "--- Starting EPIC WEB CONTROL Deployment ---"
- name: Execute Remote SSH Commands to Build and Deploy # 1. Navigeer direct naar de juiste map op de VPS
uses: appleboy/[email protected] cd /var/www/atom-next/
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
echo "--- Starting Deployment Pipeline ---"
# 1. Navigeer naar de juiste map op de VPS # 2. Synchroniseer de code direct via Git
cd /var/www/atom-next/ git fetch --all
git reset --hard origin/main
# 2. Synchroniseer de lokale code met Gitea # 3. Voer de database migraties uit
git fetch --all echo "--- Running Database Migrations ---"
git reset --hard origin/main pnpm db:migrate
echo "--- Deployment Completed Successfully ---" echo "--- Deployment Completed Successfully ---"