-
Notifications
You must be signed in to change notification settings - Fork 31
37 lines (33 loc) · 948 Bytes
/
deploy-docs.yml
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
name: Deploy docs on merge
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Setup expo cli
uses: expo/expo-github-action@v8
with:
expo-version: 4.x
- name: Install packages and build storybook
run: |
yarn install --network-concurrency 1
yarn pre
yarn storybook:build
- name: Deploy to firebase
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_DOOBOOLAB_2F044 }}'
channelId: live
projectId: dooboolab-2f044
target: dooboo-ui
env:
FIREBASE_CLI_PREVIEWS: hostingchannels