feat: reduce lobby time to 30s #176
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: | |
- master | |
jobs: | |
build-deploy: | |
name: Build and Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false # needed for the GitHub Pages deploy to work | |
- name: Use Node.js '16.x' | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "16.x" | |
- name: Install dependencies | |
run: yarn | |
- name: Build Storybook | |
run: yarn workspace @creature-chess/ui build-storybook | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
ACCESS_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: modules/@creature-chess/ui/output | |
TARGET_FOLDER: storybook |