-
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (26 loc) · 714 Bytes
/
Copy pathdeploynext.yml
File metadata and controls
27 lines (26 loc) · 714 Bytes
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
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
name: Deploy alys@next to Firebase Hosting
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- name: Lint and build
run: |
npm ci
npm run lint
npm run build:docs
env:
STORYBOOK_DEMO_VIDEOS_BASE_URL: ${{ secrets.STORYBOOK_DEMO_VIDEOS_BASE_URL }}
- name: Install Firebase CLI and deploy
run: |
npm install -g firebase-tools
firebase deploy --only hosting:next --token ${{ secrets.FIREBASE_TOKEN }}