From 91710376fdd02f2360aeb8e3c5a6df21992eebb8 Mon Sep 17 00:00:00 2001 From: Rafael White Date: Thu, 1 Aug 2024 19:39:35 -0400 Subject: [PATCH 1/2] restart supervisor from action --- .github/workflows/ec2-deploy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ec2-deploy.yaml b/.github/workflows/ec2-deploy.yaml index 234663b24..0ccf9860b 100644 --- a/.github/workflows/ec2-deploy.yaml +++ b/.github/workflows/ec2-deploy.yaml @@ -60,3 +60,4 @@ jobs: docker restart queue5 docker restart queue6 fi + ssh -o StrictHostKeyChecking=no ${{ secrets.AWS_EC2_USERNAME }}@${{ secrets.AWS_EC2_HOST }} "sudo supervisorctl restart octane" \ No newline at end of file From 04860aadb7fdc60afe1ebd826e829d62c93f64f7 Mon Sep 17 00:00:00 2001 From: Rafael White Date: Thu, 1 Aug 2024 19:41:54 -0400 Subject: [PATCH 2/2] fix format --- .github/workflows/ec2-deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ec2-deploy.yaml b/.github/workflows/ec2-deploy.yaml index 0ccf9860b..561e7bdc4 100644 --- a/.github/workflows/ec2-deploy.yaml +++ b/.github/workflows/ec2-deploy.yaml @@ -60,4 +60,4 @@ jobs: docker restart queue5 docker restart queue6 fi - ssh -o StrictHostKeyChecking=no ${{ secrets.AWS_EC2_USERNAME }}@${{ secrets.AWS_EC2_HOST }} "sudo supervisorctl restart octane" \ No newline at end of file + ssh -o StrictHostKeyChecking=no ${{ secrets.AWS_EC2_USERNAME }}@${{ secrets.AWS_EC2_HOST }} "sudo supervisorctl restart octane" \ No newline at end of file