From 4f62caebbf855b556ba04b6fab9d898d8a7aae49 Mon Sep 17 00:00:00 2001 From: Kyungrim Park Date: Mon, 6 Nov 2023 22:37:36 +0900 Subject: [PATCH] ci: github action + docker + aws ec2 --- .github/workflows/gradle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 2a0c901..c24dc50 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -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