From 15e711be12cac333bbca516ec13cc1150ff516b4 Mon Sep 17 00:00:00 2001 From: Artem Nazarenko <70914823+AvangardAA@users.noreply.github.com> Date: Tue, 31 Oct 2023 15:08:54 +0300 Subject: [PATCH] Update check.yml --- .github/workflows/check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index eba99bf..751c0e7 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -45,8 +45,8 @@ jobs: - name: Deploy to AWS EC2 run: | echo "${{ secrets.AWS_KEY }}" > aws.pem - chmod 600 aws.pem - ssh -i aws.pem -o StrictHostKeyChecking=no ubuntu@ec2-54-95-103-147.ap-northeast-1.compute.amazonaws.com << EOF + chmod 400 aws.pem + ssh -i aws.pem -o StrictHostKeyChecking=no ubuntu@ec2-13-231-170-162.ap-northeast-1.compute.amazonaws.com << EOF cd server git pull origin master cd KSE_OPI