diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index f59e854..92b8c62 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -65,17 +65,17 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max - - name: Deploy to production server - if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' - uses: appleboy/ssh-action@v1.2.0 - with: - host: ${{ secrets.SERVER_HOST }} - username: ${{ secrets.SERVER_USER }} - key: ${{ secrets.SSH_PRIVATE_KEY }} - port: ${{ secrets.SERVER_PORT || 22 }} - script: | - cd ${{ secrets.SERVER_PATH || '/root/crew-infrastructure' }} - export SLIPMATZ_WEB_TAG=main - docker compose pull slipmatz_web - docker compose up -d slipmatz_web - docker compose ps slipmatz_web + # - name: Deploy to production server + # if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' + # uses: appleboy/ssh-action@v1.2.0 + # with: + # host: ${{ secrets.SERVER_HOST }} + # username: ${{ secrets.SERVER_USER }} + # key: ${{ secrets.SSH_PRIVATE_KEY }} + # port: ${{ secrets.SERVER_PORT || 22 }} + # script: | + # cd ${{ secrets.SERVER_PATH || '/root/crew-infrastructure' }} + # export SLIPMATZ_WEB_TAG=main + # docker compose pull slipmatz_web + # docker compose up -d slipmatz_web + # docker compose ps slipmatz_web