This commit is contained in:
1 parent
c8b89803aa
commit
b0c1f7a34a
1 file changed
+1
-1
@@ -25,7 +25,7 @@ name: Execute Remote SSH Commands to Build and Deploy
|
|||||||
script: |
|
script: |
|
||||||
echo "--- Starting Deployment Pipeline ---"
|
echo "--- Starting Deployment Pipeline ---"
|
||||||
# 1. Navigate to your project folder on the VPS
|
# 1. Navigate to your project folder on the VPS
|
||||||
cd /var/www/my-project
|
cd /var/www/atom-nexst/
|
||||||
# 2. Sync the VPS local code with your Gitea repository
|
# 2. Sync the VPS local code with your Gitea repository
|
||||||
git fetch --all
|
git fetch --all
|
||||||
git reset --hard origin/main
|
git reset --hard origin/main
|
||||||
|
|||||||
Reference in new issue
Block a user