diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d9b263f..27b185c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -49,4 +49,17 @@ jobs: run: docker-compose build - name: Push Docker Images - run: docker-compose push \ No newline at end of file + run: docker-compose push + + deploy: + needs: docker-build-and-push + runs-on: ubuntu-latest + steps: + - name: SSH connection + uses: appleboy/ssh-action@v1.0.3 + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.SERVER_USER }} + password: ${{ secrets.SERVER_PASSWORD }} + port: 22 + script: whoami \ No newline at end of file