From cc69085320f7c3e2ef0e1d10b3684fd72c3ffc33 Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 25 Mar 2026 20:42:18 +0100 Subject: [PATCH] ci: remove deploy job, build & push only CI only builds the Docker image and pushes to Gitea registry. Server deployment is manual via docker compose pull + up. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/deploy.yml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index cbc174c..56603e8 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -1,4 +1,4 @@ -name: Build & Deploy +name: Build & Push on: push: @@ -40,19 +40,3 @@ jobs: NEXT_PUBLIC_CALCOM_URL=${{ secrets.NEXT_PUBLIC_CALCOM_URL }} cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE }}:buildcache cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE }}:buildcache,mode=max - - deploy: - needs: build-and-push - runs-on: ubuntu-latest - steps: - - name: Deploy to server - uses: appleboy/ssh-action@v1 - with: - host: ${{ secrets.SERVER_HOST }} - username: ${{ secrets.SERVER_USER }} - key: ${{ secrets.SERVER_SSH_KEY }} - script: | - cd ${{ secrets.DEPLOY_PATH }} - docker pull ${{ env.REGISTRY }}/${{ env.IMAGE }}:latest - docker compose up -d --no-build - docker image prune -f