Skip to content

Commit

Permalink
chore: CD 스크립트 배포 파일 복사 소스 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hseong3243 committed Jan 15, 2024
1 parent b727bc8 commit 9134ff0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
host: ${{ secrets.AWS_HOST }}
username: ${{ secrets.AWS_USERNAME }}
key: ${{ secrets.AWS_PRIVATE_KEY }}
source: "./scripts/docker-compose.yml,./scripts/data"
source: "./scripts/*"
target: "/home/ubuntu"

- name: Set up QEMU
Expand Down Expand Up @@ -63,5 +63,6 @@ jobs:
key: ${{ secrets.AWS_PRIVATE_KEY }}
script: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
cd scripts
docker-compose down
docker-compose up -d

0 comments on commit 9134ff0

Please sign in to comment.