-
Notifications
You must be signed in to change notification settings - Fork 14
45 lines (37 loc) · 1014 Bytes
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Main
on:
push:
branches:
- master
permissions:
contents: read
pages: write
id-token: write
jobs:
faency:
name: Deploy
if: github.repository == 'traefik/faency'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: enable corepack
run: corepack enable
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
- name: Config git
run: |
git config --local user.email "30906710+traefiker@users.noreply.github.com"
git config --local user.name "traefiker"
- name: Deploy
uses: bitovi/github-actions-storybook-to-github-pages@v1.0.3
env:
NODE_ENV: production
with:
install_command: yarn workspaces focus --all --production && yarn patch-package
build_command: yarn build-storybook
path: storybook-static
checkout: false