Skip to content

Commit 50f992c

Browse files
committed
ci: ec2 디렉토리 경로 수정
1 parent 63add65 commit 50f992c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828
--instance-ids "$EC2_INSTANCE_ID" \
2929
--region "$AWS_REGION" \
3030
--comment "Deploying via SSM" \
31-
--parameters 'commands=["cd ~/CustomsChatBotAI", "git pull", "docker compose down && docker compose up -d --build", "if [ $(docker inspect -f \"{{.State.Running}}\" flask-ai-server) = true ]; then docker image prune -af; fi"]' \
31+
--parameters 'commands=["cd /home/ubuntu/CustomsChatBotAI", "git pull", "docker compose down && docker compose up -d --build", "if [ $(docker inspect -f \"{{.State.Running}}\" flask-ai-server) = true ]; then docker image prune -af; fi"]' \
3232
--output text

0 commit comments

Comments
 (0)