Skip to content

Commit

Permalink
[ADD] aws 접근 플로우 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekks committed Mar 17, 2024
1 parent c4dbcf4 commit c794177
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/dev-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,19 @@ jobs:
run: |
docker build --platform linux/amd64 -t makerscrew/server .
docker push makerscrew/server
working-directory: ${{ env.working-directory-nestjs }}
working-directory: ${{ env.working-directory-nestjs }}

deploy-cd:
needs: deploy-ci
runs-on: ubuntu-22.04

steps:
- name: 도커 컨테이너 실행
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.DEV_SERVER_IP }}
username: ${{ secrets.DEV_SERVER_USER }}
key: ${{ secrets.DEV_SERVER_KEY }}
script: |
cd ~
./deploy.sh

0 comments on commit c794177

Please sign in to comment.