diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index c7ba3a6..5dd973e 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -38,7 +38,7 @@ jobs: uses: appleboy/ssh-action@master with: host: ${{ secrets.PROD_HOST }} - username: ubuntu + username: ec2-user key: ${{ secrets.PROD_KEY_PAIR }} script: | sh /home/ec2-user/deploy.sh