Files
EpicNext-Cms/.gitea/workflows/deploy.yaml
T
remco 675fa4ae2e
Remote Build and Deploy / deploy (push) Has been cancelled
Update .gitea/workflows/deploy.yaml
2026-07-11 21:25:04 +02:00

26 lines
678 B
YAML

name: Remote Build and Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: shell
steps:
- name: Execute Build and Deploy Commands
run: |
echo "--- Starting EPIC WEB CONTROL Deployment ---"
# 1. Navigeer direct naar de juiste map op de VPS
cd /var/www/atom-next/
# 2. Synchroniseer de code direct via Git
git fetch --all
git reset --hard origin/main
# 3. Voer de database migraties uit
echo "--- Running Database Migrations ---"
pnpm db:migrate
echo "--- Deployment Completed Successfully ---"