Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunear committed Nov 6, 2023
1 parent 58926be commit 3b6f347
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cleanup-preview-deployments.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Cleanup Preview Deployments
on:
pull_request:
types: [closed]
types: [synchronize]

env:
VERCEL_TEAM: ${{ secrets.VERCEL_TEAM }}
Expand All @@ -26,9 +26,9 @@ jobs:
} >> "$GITHUB_ENV"
- name: Remove Storybook alias if it exists
if: contains(env.ALIASES, 'storybook-pr-${{ env.PR_NUMBER }}.dev.designsystemet.no')
run: vercel alias rm --yes --token=${{ secrets.VERCEL_TOKEN }} --scope=${{ secrets.VERCEL_TEAM }} storybook-pr-${{ env.PR_NUMBER }}.dev.designsystemet.no
if: contains(env.ALIASES, 'storefront-pr-1028.dev.designsystemet.no')
run: echo "test1=first" >> $GITHUB_OUTPUT

- name: Remove Storefront alias if it exists
if: contains(env.ALIASES, 'storefront-pr-${{ env.PR_NUMBER }}.dev.designsystemet.no')
run: vercel alias rm --yes --token=${{ secrets.VERCEL_TOKEN }} --scope=${{ secrets.VERCEL_TEAM }} storefront-pr-${{ env.PR_NUMBER }}.dev.designsystemet.no
if: contains(env.ALIASES, 'storefront-pr-1028.dev.designsystemet.no')
run: echo "test2=second" >> $GITHUB_OUTPUT

0 comments on commit 3b6f347

Please sign in to comment.