Skip to content

Commit

Permalink
fix: deploy pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
rlarltj committed Sep 24, 2024
1 parent ad61c9e commit 94969bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- fix/**

# 권한 설정
permissions:
Expand Down Expand Up @@ -57,7 +58,7 @@ jobs:
- name: Send docker-compose.yml
uses: appleboy/scp-action@master
with:
username: ec2-user
username: root
host: ${{ secrets.AWS_DEV_IP }}
key: ${{ secrets.AWS_PASSWORD }}
port: 22
Expand All @@ -68,7 +69,7 @@ jobs:
- name: Deploy
uses: appleboy/ssh-action@master
with:
username: ec2-user
username: root
host: ${{ secrets.AWS_DEV_IP }}
key: ${{ secrets.AWS_PASSWORD }}
script: |
Expand Down

0 comments on commit 94969bd

Please sign in to comment.