diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 45d10ce..f724e51 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -47,7 +47,6 @@ jobs: deploy: runs-on: ubuntu-latest needs: build - if: startsWith(github.ref, 'refs/tags/') steps: - name: Deploy to server uses: appleboy/ssh-action@v1.0.3 @@ -55,7 +54,8 @@ jobs: host: ${{ secrets.SSH_HOST }} username: ${{ secrets.SSH_USER }} password: ${{ secrets.SSH_PASSWORD }} + port: ${{ secrets.SSH_PORT || 22 }} script: | cd /opt/anticaptcha - docker-compose pull - docker-compose up -d \ No newline at end of file + docker compose pull + docker compose up -d \ No newline at end of file