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

This commit is contained in:
2025-11-06 17:10:05 +01:00
parent e21a62ef69
commit f95d2225c7

View File

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