From 1e51be30972b531d0512f42308a87adfc1533f8a Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Thu, 12 Dec 2024 11:58:43 +0100 Subject: [PATCH] update workflow --- .github/workflows/main.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1202409..f9b53ad 100755 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,22 +21,6 @@ jobs: needs: build-and-test steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: SSH and Restart EU Server - uses: appleboy/ssh-action@v1.0.0 - with: - host: ${{ secrets.EU_IP_ADDRESS }} - username: ${{ secrets.EU_USERNAME }} - key: ${{ secrets.SSH_KEY }} - script: | - cd backend/ - git reset --hard - git pull https://${{ secrets.GIT_PASSWORD }}:x-oauth-basic@github.com/stocknear/backend.git - pm2 restart fastapi - pm2 restart fastify - - name: SSH and Restart USEast Server uses: appleboy/ssh-action@v1.0.0 with: