-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|