diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c88cce7..b2846f0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,21 +36,3 @@ jobs: file: ./backend/Dockerfile push: true tags: azpect3120/file.gophernest.backend:latest - - - name: Deploy to server - uses: appleboy/ssh-action@v1.2.1 - with: - host: ${{ secrets.SERVER_HOST }} - username: ${{ secrets.SERVER_USERNAME }} - password: ${{ secrets.SERVER_PASSWORD }} - port: 22 - script: | - docker-compose -f /home/azpect/Applications/file.gophernest/docker-compose.yml down - docker-compose -f /home/azpect/Applications/file.gophernest/docker-compose.yml pull - docker-compose -f /home/azpect/Applications/file.gophernest/docker-compose.yml up -d - env: - FILE_GOPHERNEST_USER: ${{ secrets.FILE_GOPHERNEST_USER }} - FILE_GOPHERNEST_PASSWORD: ${{ secrets.FILE_GOPHERNEST_PASSWORD }} - FILE_GOPHERNEST_JWT_SECRET: ${{ secrets.FILE_GOPHERNEST_JWT_SECRET }} - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} \ No newline at end of file