diff --git a/.github/workflows/closed.yml b/.github/workflows/closed.yml index e5fa83f61e..7df5e7295b 100644 --- a/.github/workflows/closed.yml +++ b/.github/workflows/closed.yml @@ -39,11 +39,9 @@ jobs: // Check for existence of specific environments const hasDocsEnv = envList.includes(`docs-pr-${pull_number}`); const hasStorybookEnv = envList.includes(`storybook-pr-${pull_number}`); - cosnt hasStorybookTestingEnv = envList.includes(`storybook-testing-pr-${pull_number}`); core.setOutput('hasDocsEnv', hasDocsEnv); core.setOutput('hasStorybookEnv', hasStorybookEnv); - core.setOutput('hasStorybookTestingEnv', hasStorybookTestingEnv); - name: Delete associated docs environments if: steps.list-environments.outputs.hasDocsEnv == 'true' @@ -72,7 +70,7 @@ jobs: branch-name: 'pr${{ github.event.number }}' - name: Delete associated storybook testing environments - if: steps.list-environments.outputs.hasStorybookTestingEnv == 'true' + if: steps.list-environments.outputs.hasStorybookEnv == 'true' uses: ./.github/actions/amplify-teardown with: gh-app-id: ${{ secrets.GH_APP_ID }}