From 38f769ef67cdbd3090d5cb6fc68e234c57df2e40 Mon Sep 17 00:00:00 2001 From: Thanu Poptiphueng Date: Sat, 8 Jun 2024 10:52:58 +0700 Subject: [PATCH] remove admin workflow --- .gitea/workflows/backend-admin.yaml | 33 ----------------------------- 1 file changed, 33 deletions(-) delete mode 100644 .gitea/workflows/backend-admin.yaml diff --git a/.gitea/workflows/backend-admin.yaml b/.gitea/workflows/backend-admin.yaml deleted file mode 100644 index 0590c1f..0000000 --- a/.gitea/workflows/backend-admin.yaml +++ /dev/null @@ -1,33 +0,0 @@ -name: backend-admin-action -run-name: ${{ gitea.actor }} is building docker image 🚀 -on: [push] - -jobs: - build-image: - runs-on: ubuntu-20.04 - steps: - - name: Check out repository code - uses: actions/checkout@v3 - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - registry: gitea.cognizata.com - - name: Build and push - uses: docker/build-push-action@v5 - with: - context: . - file: next.Dockerfile - push: true - platforms: linux/amd64 - tags: gitea.cognizata.com/atapy/sorvor-admin:latest - - name: update server - uses: https://github.com/appleboy/ssh-action@v1.0.3 - with: - host: 46.102.174.196 - username: root - key: ${{ secrets.SORVOR_KEY }} - port: 22 - script: "docker compose pull && docker compose up -d" - - run: echo "🍏 This job's status is ${{ job.status }}."