Skip to content

Commit

Permalink
Merge pull request #162 from Team-Going/feature/161
Browse files Browse the repository at this point in the history
[fix] 테스트 서버 변경에 따른 workflow 수정
  • Loading branch information
SunwoongH authored Apr 17, 2024
2 parents 064c566 + 6a1112b commit aa9f45d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cicd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -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/"
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cicd-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -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/"
Expand All @@ -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
Expand Down

0 comments on commit aa9f45d

Please sign in to comment.