diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 55fa246..ebf19ba 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -25,18 +25,16 @@ jobs: - name: Deploy via Git Pull and Rsync run: | - # Pull latest on server - ssh ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER }} " - cd ${{ secrets.DEPLOY_PATH }} && - git fetch origin && - git reset --hard origin/master - " + ssh -p 2222 ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER }} " + cd ${{ secrets.DEPLOY_PATH }} && + git fetch origin && + git reset --hard origin/master + " - name: Restart docker container run: | - # Pull latest on server - ssh ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER }} " - cd ${{ secrets.DEPLOY_PATH }} && - docker compose down && - docker compose up --build -d - " + ssh -p 2222 ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER }} " + cd ${{ secrets.DEPLOY_PATH }} && + docker compose down && + docker compose up --build -d + "