add ssh port
Some checks failed
Deploy to VPS / deploy (push) Failing after 3s

This commit is contained in:
2025-11-06 17:07:53 +01:00
parent 8ce4e89f6a
commit e21a62ef69

View File

@@ -25,8 +25,7 @@ jobs:
- name: Deploy via Git Pull and Rsync
run: |
# Pull latest on server
ssh ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER }} "
ssh -p 2222 ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER }} "
cd ${{ secrets.DEPLOY_PATH }} &&
git fetch origin &&
git reset --hard origin/master
@@ -34,8 +33,7 @@ jobs:
- name: Restart docker container
run: |
# Pull latest on server
ssh ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER }} "
ssh -p 2222 ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER }} "
cd ${{ secrets.DEPLOY_PATH }} &&
docker compose down &&
docker compose up --build -d