chore: release v1.10.1 #1006
Workflow file for this run
This file contains hidden or 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: Storybook Deployer | |
| on: | |
| pull_request: | |
| types: | |
| - closed | |
| jobs: | |
| deploy_storybook: | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'releases/v') | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| ref: master | |
| - uses: actions/setup-node@v2 | |
| with: | |
| registry-url: "https://registry.npmjs.org" | |
| node-version: '16.15.0' | |
| - run: | | |
| if [ -f "yarn.lock" ]; then | |
| yarn install | |
| else | |
| npm install | |
| fi | |
| - run: npm run deploy-storybook -- --ci | |
| env: | |
| GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} |