Files
EpicNext-Cms/ .gitea/workflows/deploy.yml
T
remco 4f4044992b
Deploy Atom Next / deploy (push) Has been cancelled
Update .gitea/workflows/deploy.yml
2026-07-11 21:08:57 +02:00

26 lines
705 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 Deployment Pipeline ---"
# 1. Navigate to your project folder on the VPS
cd /var/www/atom-next/
# 2. Sync the VPS local code with your Gitea repository
git fetch --all
git reset --hard origin/main
# 3. Build & Restart Commands (Uncomment or adapt to your stack if needed)
# npm install --production
# npm run build
echo "--- Deployment Completed Successfully ---"