From 65007196895bb821957cae6de892f93f599856ff Mon Sep 17 00:00:00 2001 From: Admin Date: Fri, 17 Jul 2026 00:07:09 +0000 Subject: [PATCH] ci: enable auto-deploy on main branch push, use docker compose v2 --- .gitea/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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