Add 'etec/itweek-2018/' from commit '9b3f610be4166d7bb8f4047e07c28ccf… #104
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: Deploy Storybook | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-n-deploy: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./rocketseat/lab-ds | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install deps | |
run: yarn install --frozen-lockfile | |
- name: Build Storybook | |
run: yarn build-storybook | |
- name: Deploy Storybook | |
run: yarn deploy-storybook -- --ci --existing-output-dir=storybook-static | |
env: | |
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} |