diff --git a/.github/workflows/dev-cicd.yml b/.github/workflows/dev-cicd.yml index 561ded5..a8fb634 100644 --- a/.github/workflows/dev-cicd.yml +++ b/.github/workflows/dev-cicd.yml @@ -52,10 +52,10 @@ jobs: - name: ⏱️Docker hub에서 pull 후 deploy합니다. uses: appleboy/ssh-action@master with: - host: ${{ secrets.GCP_SERVER_HOST }} - username: ${{ secrets.GCP_SERVER_USERNAME }} - key: ${{ secrets.GCP_SSH_KEY }} + host: ${{ secrets.EC2_DEPLOY_SERVER_HOST }} + username: ${{ secrets.EC2_USERNAME }} + key: ${{ secrets.EC2_KEY }} script: | sudo chmod 777 ./deploy.sh ./deploy.sh - sudo docker image prune -f \ No newline at end of file + sudo docker image prune -f diff --git a/.github/workflows/test-cicd.yml b/.github/workflows/test-cicd.yml index 9990e24..b4d5ec9 100644 --- a/.github/workflows/test-cicd.yml +++ b/.github/workflows/test-cicd.yml @@ -52,10 +52,10 @@ jobs: - name: ⏱️Docker hub에서 pull 후 deploy합니다. uses: appleboy/ssh-action@master with: - host: ${{ secrets.GCP_TEST_SERVER_HOST }} - username: ${{ secrets.GCP_TEST_SERVER_USERNAME }} - key: ${{ secrets.GCP_SSH_KEY }} + host: ${{ secrets.EC2_TEST_SERVER_HOST }} + username: ${{ secrets.EC2_USERNAME }} + key: ${{ secrets.EC2_KEY }} script: | sudo chmod 777 ./deploy.sh ./deploy.sh - sudo docker image prune -f \ No newline at end of file + sudo docker image prune -f