Skip to content

Commit

Permalink
Merge pull request #19 from SWM-WeLike2Coding/fix/prod_cd
Browse files Browse the repository at this point in the history
fix: prod_cd.yml
  • Loading branch information
kjungw1025 authored Aug 11, 2024
2 parents 56858a2 + ca28654 commit 5caace9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prod_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'SWM-WeLike2Coding/ELSwhere-apigateway-server'
needs: check_repo
environment: dev
environment: prod
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
AWS_ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
AWS_ECR_REPOSITORY: ${{ secrets.AWS_ECR_PROD_APIGATEWAY_REPOSITORY }}
with:
host: ${{ secrets.SERVER_HOST_PROD }}
host: ${{ secrets.SERVER_HOST_PROD_A }}
username: ubuntu
key: ${{ secrets.PRIVATE_PEM_KEY_PROD_A }}
envs: GITHUB_SHA,AWS_ECR_REGISTRY,AWS_ECR_REPOSITORY
Expand Down

0 comments on commit 5caace9

Please sign in to comment.