From 049feab0d8eb1227c0e62af6e909ed1d83f32a5a Mon Sep 17 00:00:00 2001 From: Sonny Date: Wed, 3 Jul 2024 23:55:09 +0200 Subject: [PATCH] ci: (temp) disable pull image script --- .dockerignore | 2 +- .github/workflows/cd.yml | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.dockerignore b/.dockerignore index 562b1ec..b689e34 100644 --- a/.dockerignore +++ b/.dockerignore @@ -4,7 +4,7 @@ build coverage .vscode .DS_STORE -# .env +.env tmp storage diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d1dd283..8b65512 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -36,18 +36,18 @@ jobs: tags: ${{ steps.docker_meta.outputs.tags }} labels: ${{ steps.docker_meta.outputs.labels }} - execute_commands_via_ssh: - name: Pull latest docker image and start up the application with Docker Compose - runs-on: ubuntu-latest - needs: push_image_to_docker_hub - steps: - - name: Executing remote ssh commands - uses: appleboy/ssh-action@master - with: - host: ${{ secrets.SSH_HOST }} - port: ${{ secrets.SSH_PORT }} - username: ${{ secrets.SSH_USERNAME }} - key: ${{ secrets.SSH_KEY }} - script: | - cd /infra/my-links - sh startup.sh + # execute_commands_via_ssh: + # name: Pull latest docker image and start up the application with Docker Compose + # runs-on: ubuntu-latest + # needs: push_image_to_docker_hub + # steps: + # - name: Executing remote ssh commands + # uses: appleboy/ssh-action@master + # with: + # host: ${{ secrets.SSH_HOST }} + # port: ${{ secrets.SSH_PORT }} + # username: ${{ secrets.SSH_USERNAME }} + # key: ${{ secrets.SSH_KEY }} + # script: | + # cd /infra/my-links + # sh startup.sh