Skip to content

Commit

Permalink
change region for ec2 03
Browse files Browse the repository at this point in the history
  • Loading branch information
KristinaDudnyk committed Mar 2, 2024
1 parent 9389761 commit 9c9dd4d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/backEnd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
- name: Checkout repository//download the source code repository
uses: actions/checkout@v2

- name: Use Node.js 16
uses: actions/setup-node@v4
with:
node-version: 16

- name: Configure AWS credentials// AWS credentials are configuring
uses: aws-actions/configure-aws-credentials@v2
with:
Expand All @@ -22,7 +27,7 @@ jobs:

- name: Install dependencies and build
run: |
ssh -i ec2-key-pair-videos.pem -o StrictHostKeyChecking=no "${{secrets.EC2_HOST}}"
ssh -o StrictHostKeyChecking=no -i "${{secrets.AWS_HOST_NAME}}@${{secrets.AWS_HOST}}"
cd Full-Stack-Project-Assessment
git pull
cd server
Expand Down

0 comments on commit 9c9dd4d

Please sign in to comment.