diff --git a/.github/workflows/cicd-dev.yml b/.github/workflows/cicd-dev.yml index 9fa58f5..dd84dc8 100644 --- a/.github/workflows/cicd-dev.yml +++ b/.github/workflows/cicd-dev.yml @@ -43,7 +43,7 @@ jobs: with: username: ubuntu host: ${{ secrets.EC2_DEV_HOST }} - key: ${{ secrets.EC2_KEY }} + key: ${{ secrets.EC2_DEV_KEY }} port: ${{ secrets.EC2_PORT }} source: "./scripts/deploy.sh" target: "/home/ubuntu/" @@ -53,7 +53,7 @@ jobs: with: username: ubuntu host: ${{ secrets.EC2_DEV_HOST }} - key: ${{ secrets.EC2_KEY }} + key: ${{ secrets.EC2_DEV_KEY }} port: ${{ secrets.EC2_PORT }} source: "./docker-compose.yml" target: "/home/ubuntu/" @@ -71,7 +71,7 @@ jobs: with: username: ubuntu host: ${{ secrets.EC2_DEV_HOST }} - key: ${{ secrets.EC2_KEY }} + key: ${{ secrets.EC2_DEV_KEY }} script: | sudo docker pull ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPOSITORY }} chmod 777 ./scripts/deploy.sh diff --git a/.github/workflows/cicd-prod.yml b/.github/workflows/cicd-prod.yml index 248326b..63e46c9 100644 --- a/.github/workflows/cicd-prod.yml +++ b/.github/workflows/cicd-prod.yml @@ -43,7 +43,7 @@ jobs: with: username: ubuntu host: ${{ secrets.EC2_PROD_HOST }} - key: ${{ secrets.EC2_KEY }} + key: ${{ secrets.EC2_PROD_KEY }} port: ${{ secrets.EC2_PORT }} source: "./scripts/deploy.sh" target: "/home/ubuntu/" @@ -53,7 +53,7 @@ jobs: with: username: ubuntu host: ${{ secrets.EC2_PROD_HOST }} - key: ${{ secrets.EC2_KEY }} + key: ${{ secrets.EC2_PROD_KEY }} port: ${{ secrets.EC2_PORT }} source: "./docker-compose.yml" target: "/home/ubuntu/" @@ -71,7 +71,7 @@ jobs: with: username: ubuntu host: ${{ secrets.EC2_PROD_HOST }} - key: ${{ secrets.EC2_KEY }} + key: ${{ secrets.EC2_PROD_KEY }} script: | sudo docker pull ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPOSITORY }} chmod 777 ./scripts/deploy.sh