Skip to content
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/release-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,25 +69,25 @@ jobs:
- name: Send docker-compose.yml to EC2 Instance
uses: appleboy/scp-action@master
with:
username: ec2-user
username: ubuntu
host: ${{ secrets.PROD_SERVER_IP }}
key: ${{ secrets.PROD_PEM_KEY }}
source: "./docker-compose.yml"
target: "/home/ec2-user/app/"
target: "/home/ubuntu/app/"

- name: Send deploy script to EC2 Instance
uses: appleboy/scp-action@master
with:
username: ec2-user
username: ubuntu
host: ${{ secrets.PROD_SERVER_IP }}
key: ${{ secrets.PROD_PEM_KEY }}
source: "./script/"
target: "/home/ec2-user/app/"
target: "/home/ubuntu/app/"

- name: Docker Container Run
uses: appleboy/ssh-action@master
with:
username: ec2-user
username: ubuntu
host: ${{ secrets.PROD_SERVER_IP }}
key: ${{ secrets.PROD_PEM_KEY }}
script: |
Expand Down