Skip to content

Deploy

Deploy #730

Workflow file for this run

name: Deploy
on:
schedule:
- cron: "0 0 * * *"
push:
branches:
- main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
name: Checkout [main]
with:
fetch-depth: 0
#- name: create env file
# run: |
# touch .env
# echo GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} >> .env
- uses: actions/setup-node@v4
with:
node-version: '16'
- run: yarn
- run: yarn build-storybook
- run: yarn deploy