Skip to content

Commit

Permalink
Update cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydee029 authored Mar 29, 2024
1 parent bb7932d commit 66fffea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
AWS_REGION: ap-south-1
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
PRIVATE_SSH_KEY: ${{ secrets.PRIVATE_SSH_KEY }}
PRIVATE_SSH_KEY: ${{ secrets.AWS_SSH_KEY }}
SERVER_PUBLIC_IP: ${{ secrets.AWS_PUBLIC_KEY }}

jobs:
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
with:
host: ${{ secrets.AWS_PUBLIC_KEY}}
username: ubuntu
key: ${{ secrets.PRIVATE_SSH_KEY }}
key: ${{ secrets.AWS_SSH_KEY }}
envs: PRIVATE_SSH_KEY,REGISTRY,REPOSITORY,IMAGE_TAG,AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_DEFAULT_REGION,AWS_REGION
script: |-
sudo apt update
Expand Down

0 comments on commit 66fffea

Please sign in to comment.