From 918b36bb4bd744fc19f7d5471b65e9ca00cfe064 Mon Sep 17 00:00:00 2001 From: doug0102 Date: Fri, 11 Aug 2023 06:24:10 -0400 Subject: [PATCH] steps don't depend on one another --- .github/workflows/destroy-pr.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/destroy-pr.yml b/.github/workflows/destroy-pr.yml index a417a664..494c2951 100644 --- a/.github/workflows/destroy-pr.yml +++ b/.github/workflows/destroy-pr.yml @@ -26,13 +26,11 @@ jobs: uses: azure/CLI@v1 with: azcliversion: 2.30.0 - inlineScript: | - az group delete --name ${{ env.AZURE_WEBAPP_NAME }} + inlineScript: az group delete --name ${{ env.AZURE_WEBAPP_NAME }} secret: name: Delete GitHub Secret runs-on: ubuntu-latest - needs: azure steps: - name: GitHub Auth Login shell: bash @@ -40,13 +38,11 @@ jobs: - uses: actions/checkout@master - name: Delete Secret - run: | - gh secret delete "${{ env.SECRET_NAME }}" + run: gh secret delete "${{ env.SECRET_NAME }}" environment: name: Delete GitHub Environment runs-on: ubuntu-latest - needs: [azure, secret] steps: - name: Delete Environment shell: bash