From 5668909bcaeeea040f300d6431e3f4e321de622f Mon Sep 17 00:00:00 2001 From: Rafael White Date: Wed, 12 Jun 2024 17:35:35 -0400 Subject: [PATCH] add depends on docker command job --- .github/workflows/ec2-deploy.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ec2-deploy.yaml b/.github/workflows/ec2-deploy.yaml index e300f1fba..8a7880776 100644 --- a/.github/workflows/ec2-deploy.yaml +++ b/.github/workflows/ec2-deploy.yaml @@ -25,9 +25,10 @@ jobs: key: ${{ secrets.AWS_EC2_PRIVATE_SSH_KEY }} source: . target: ${{secrets.AWS_EC2_TARGET_DIR}} - laravel-command: - name: Clear cache Laravel + docker-command: + name: Docker commands runs-on: ubuntu-latest + needs: deploy-to-ec2 environment: ${{ github.ref_name }} steps: - name: executing remote ssh commands using password