Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] 테스트 서버 변경에 따른 workflow 수정 #162

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading