chore(devdeps): update dependency chromatic to v11.1.1 #3442
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- 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 }} |