Skip to content

Commit

Permalink
chore: DB 연결
Browse files Browse the repository at this point in the history
  • Loading branch information
yechan-kim committed Aug 22, 2024
1 parent 449fb20 commit 1d49023
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,9 @@ jobs:
fi
sudo docker rm $(sudo docker ps --filter 'status=exited' -a -q)
sudo docker run -d --log-driver=syslog -p 8080:8080 ${{secrets.DOCKER_USERNAME}}/dsjs:latest
sudo docker run -d --log-driver=syslog -p 8080:8080 \
-e API_KEY=${{secrets.API_KEY}} \
-e DB_USER=${{secrets.DB_USER}} \
-e DB_PASSWORD=${{secrets.DB_PASSWORD}} \
${{secrets.DOCKER_USERNAME}}/dsjs:latest
sudo docker image prune -a -f

0 comments on commit 1d49023

Please sign in to comment.