Skip to content

feat(SelectInputV2): new select input #3555

feat(SelectInputV2): new select input

feat(SelectInputV2): new select input #3555

name: Teardown Pull Request
on:
pull_request:
types: [closed]
jobs:
teardown:
runs-on: ubuntu-22.04
env:
IMAGE_NAME: rg.fr-par.scw.cloud/console-scw/ultraviolet
STORYBOOK_DEPLOYMENT_NAME: storybook
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4
- name: Export custom variables
run: |
SAFE_STORYBOOK_HEAD_REF=$(echo $GITHUB_HEAD_REF_SLUG_URL-$STORYBOOK_DEPLOYMENT_NAME | rev | cut -c-37 | rev | sed 's/^-//g')
echo "STORYBOOK_BRANCH_SLUG=$SAFE_STORYBOOK_HEAD_REF" >> $GITHUB_ENV
- name: Remove storybook deployment
uses: bobheadxi/[email protected]
with:
step: delete-env
token: ${{ secrets.GH_TOKEN }}
env: ${{ env.STORYBOOK_BRANCH_SLUG }}