Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(pie-storybook): DSW-2496 updated closed.yml #2083

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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 }}
Expand Down
Loading