From ae5e06f7cdc0a3c7d7264c3bbc4283e78de35f20 Mon Sep 17 00:00:00 2001 From: Mark Botterill Date: Tue, 2 Apr 2024 15:39:15 +0000 Subject: [PATCH] Correct typos on bash script --- .github/workflows/ec2-deployment.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ec2-deployment.yml b/.github/workflows/ec2-deployment.yml index 7d5c2e083c3..d3178a4f7c9 100644 --- a/.github/workflows/ec2-deployment.yml +++ b/.github/workflows/ec2-deployment.yml @@ -21,10 +21,10 @@ jobs: - name: SSH and Deploy to EC2 run: | ssh -o StrictHostKeyChecking=no ec2-user@3.108.64.73 << 'EOF' - docker kill $(docker ps -q) - docker system prune -af - cd /home/ec2-user/danswer - git fetch origin staging - git reset --hard FETCH_HEAD - docker-compose /home/ec2-user/danswer/deployment/docker_compose/docker-compose.prod.yml -d --force-recreate + docker kill $(docker ps -q) + docker system prune -af + cd /home/ec2-user/danswer + git fetch origin staging + git reset --hard FETCH_HEAD + docker-compose /home/ec2-user/danswer/deployment/docker_compose/docker-compose.prod.yml -d --force-recreate EOF