Skip to content

Commit

Permalink
Update docker_deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ashee022 authored Sep 18, 2023
1 parent 0da76cf commit 1e9fa25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
run: |
echo "$PRIVATE_KEY" > private_key.pem
chmod 600 private_key.pem
scp -v -i private_key.pem -r * [email protected]:/home/ubuntu/DataFetcher/
ssh -v -i private_key.pem [email protected] 'cd /home/ubuntu/DataFetcher/ && sudo docker stop buzzing_admin_container && sudo docker rm buzzing_admin_container && sudo docker build -t awsbuzzing_image . && sudo docker run -d -p 8081:8081 --name buzzing_admin_container awsbuzzing_image'
scp -o StrictHostKeyChecking=no -i private_key.pem -r * [email protected]:/home/ubuntu/DataFetcher/
ssh -o StrictHostKeyChecking=no -i private_key.pem [email protected] 'cd /home/ubuntu/DataFetcher/ && sudo docker stop buzzing_admin_container && sudo docker rm buzzing_admin_container && sudo docker build -t awsbuzzing_image . && sudo docker run -d -p 8081:8081 --name buzzing_admin_container awsbuzzing_image'
rm -f private_key.pem
- name: Debug known_hosts
Expand Down

0 comments on commit 1e9fa25

Please sign in to comment.