Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Fix ips
Browse files Browse the repository at this point in the history
  • Loading branch information
roznawsk committed Mar 22, 2024
1 parent 7110660 commit 0bab21c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sandbox_build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ jobs:
- name: Remove old containers on first host
uses: JimCronqvist/action-ssh@master
with:
hosts: ${{ secrets.STAGING_IP }}
hosts: ${{ secrets.SANDBOX_IP }}
privateKey: ${{ secrets.SSH_PRIV_KEY }}
command: |
docker ps -aq | xargs -r docker stop | xargs -r docker rm
- name: Deploy docker compose to a pre-configured server on first host
uses: TapTap21/[email protected]
with:
remote_docker_host: ${{ secrets.STAGING_IP }}
remote_docker_host: ${{ secrets.SANDBOX_IP }}
ssh_private_key: ${{ secrets.SSH_PRIV_KEY }}
ssh_public_key: ${{ secrets.SSH_PUB_KEY }}
stack_file_name: ${{ env.COMPOSE_FILE_NAME }}
Expand Down

0 comments on commit 0bab21c

Please sign in to comment.