diff --git a/ .gitea/workflows/deploy.yml b/ .gitea/workflows/deploy.yml index a2bbbfd6..2d36d1fb 100644 --- a/ .gitea/workflows/deploy.yml +++ b/ .gitea/workflows/deploy.yml @@ -6,12 +6,20 @@ on: jobs: deploy: - runs-on: host + runs-on: + - self-hosted + - linux + - 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 + echo "--- Deployment Completed Successfully ---" \ No newline at end of file