diff --git a/.github/workflows/deploy_aws_vpc.yml b/.github/workflows/deploy_aws_vpc.yml index 91664ad..9753dfd 100644 --- a/.github/workflows/deploy_aws_vpc.yml +++ b/.github/workflows/deploy_aws_vpc.yml @@ -42,6 +42,8 @@ jobs: destroy: name: Destroy Infrastructure runs-on: ubuntu-latest + needs: deploy + env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_INFRA_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_INFRA_KEY }}