Skip to content

Commit

Permalink
Test: 블루-그린 무중단 배포 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
tioon committed Jun 30, 2024
1 parent d1e2824 commit 58410aa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ jobs:
host: ${{ secrets.PROD_SERVER_HOST }}
username: ${{ secrets.PROD_SERVER_USERNAME }}
key: ${{ secrets.PROD_SERVER_PEM_KEY }}
envs:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
script: |
chmod +x /home/${{ secrets.PROD_SERVER_USERNAME }}/scripts/zero-downtime-deploy.sh
/home/${{ secrets.PROD_SERVER_USERNAME }}/scripts/zero-downtime-deploy.sh
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
script: |
chmod +x /home/${{ secrets.PROD_SERVER_USERNAME }}/scripts/zero-downtime-deploy.sh
/home/${{ secrets.PROD_SERVER_USERNAME }}/scripts/zero-downtime-deploy.sh

0 comments on commit 58410aa

Please sign in to comment.