diff --git a/.github/workflows/debug_build_and_deploy.yml b/.github/workflows/debug_build_and_deploy.yml deleted file mode 100644 index 2fbbd91..0000000 --- a/.github/workflows/debug_build_and_deploy.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Staging Build and Deploy -on: - push: - branches: - - "debug-staging" - paths: - - "**" - -env: - DOMAIN: room.fishjam.work - BE_HOST: server.room.fishjam.work - PROJECT: staging - COMPOSE_FILE_NAME: docker-compose-deploy.yaml - -jobs: - deploy1: - runs-on: ubuntu-latest - steps: - - name: Debug staging - uses: JimCronqvist/action-ssh@master - with: - hosts: ${{ secrets.STAGING_HOST }} - privateKey: ${{ secrets.SSH_PRIV_KEY }} - command: | - cat test.txt - diff --git a/.github/workflows/sandbox_build_and_deploy.yml b/.github/workflows/sandbox_build_and_deploy.yml index be461da..4cb2e56 100644 --- a/.github/workflows/sandbox_build_and_deploy.yml +++ b/.github/workflows/sandbox_build_and_deploy.yml @@ -40,7 +40,7 @@ jobs: - name: Remove old containers on first host uses: JimCronqvist/action-ssh@master with: - hosts: ${{ secrets.SANDBOX_IP }} + hosts: ${{ secrets.SANDBOX_HOST }} privateKey: ${{ secrets.SSH_PRIV_KEY }} command: | docker ps -aq | xargs -r docker stop | xargs -r docker rm diff --git a/.github/workflows/staging_build_and_deploy.yml b/.github/workflows/staging_build_and_deploy.yml index 807d566..9cad276 100644 --- a/.github/workflows/staging_build_and_deploy.yml +++ b/.github/workflows/staging_build_and_deploy.yml @@ -38,7 +38,7 @@ jobs: - name: Remove old containers on first host uses: JimCronqvist/action-ssh@master with: - hosts: ${{ secrets.STAGING_IP }} + hosts: ${{ secrets.STAGING_HOST }} privateKey: ${{ secrets.SSH_PRIV_KEY }} command: | docker ps -aq | xargs -r docker stop | xargs -r docker rm