From 19cc06795fd264d33b722eb1b6641fb585b125b7 Mon Sep 17 00:00:00 2001 From: alonit Date: Tue, 10 Sep 2024 11:52:58 +0300 Subject: [PATCH] revise workflow yaml --- .github/workflows/service-deploy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/service-deploy.yaml b/.github/workflows/service-deploy.yaml index dda9ff8..d778ea4 100644 --- a/.github/workflows/service-deploy.yaml +++ b/.github/workflows/service-deploy.yaml @@ -22,11 +22,11 @@ jobs: echo "$SSH_PRIVATE_KEY" > mykey.pem chmod 400 mykey.pem - # Copy the files from the current wrok dir into the EC2 instance, under `~/app`. - scp -i mykey.pem -r . ubuntu@$EC2_PUBLIC_IP:~/app + # Copy the files from the current work dir into the EC2 instance, under `~/app`. + scp -o StrictHostKeyChecking=no -i mykey.pem -r * ubuntu@$EC2_PUBLIC_IP:~/app # Connect to your EC2 instance and execute the `deploy.sh` script (this script is part of the repo files). - # You need to implement the `deploy.sh` script yourself. + # TODO You need to implement the `deploy.sh` script yourself. # # Upon completion, the NetflixMovieCatalog app should be running with its newer version. # To keep the app running in the background independently on the terminal session you are logging to, configure it as a Linux service.