0.2.38 #219
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 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 |