Skip to content

Commit

Permalink
ci: github action + docker + aws ec2
Browse files Browse the repository at this point in the history
  • Loading branch information
g16rim committed Nov 6, 2023
1 parent 9adf63d commit 4f62cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
script: |
docker pull ${{ secrets.DOCKER_USERNAME }}/yourwriting:latest
docker stop $(docker ps -a -q)
docker run -d --log-driver=syslog -p 8080:8080 -e SPRING_PROFILES_ACTIVE=prod ${{ secrets.DOCKER_USERNAME }}/gomaoom:latest
docker run -d --log-driver=syslog -p 8080:8080 -e SPRING_PROFILES_ACTIVE=prod ${{ secrets.DOCKER_USERNAME }}/yourwriting:latest
docker rm $(docker ps --filter 'status=exited' -a -q)
docker image prune -a -f
Expand Down

0 comments on commit 4f62cae

Please sign in to comment.