Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: CI/CD 수정 (#33) #37

Merged
merged 1 commit into from
Oct 17, 2023
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
5 changes: 3 additions & 2 deletions .github/workflows/Diareat-CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ jobs:
echo "DB_ENDPOINT=${{ secrets.DB_ENDPOINT }}" > env.list
echo "DB_USERNAME=${{ secrets.DB_USERNAME }}" >> env.list
echo "DB_PASSWORD=${{ secrets.DB_PASSWORD }}" >> env.list
echo "JWT_KEY=${{ secrets.JWT_KEY }}" >> env.list


sudo docker run -d -p 22:22/tcp --env-file env.list --name Diareat_Backend ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.PROJECT_NAME }}:latest
sudo docker run -d -p 8080:8080/tcp --env-file env.list --name Diareat_Backend ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.PROJECT_NAME }}:latest
synoti21 marked this conversation as resolved.
Show resolved Hide resolved
sleep 10s
sudo docker ps | grep ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.PROJECT_NAME }}:latest
sudo docker ps | grep ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.PROJECT_NAME }}:latest