-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuildspec.yml
More file actions
25 lines (21 loc) · 672 Bytes
/
buildspec.yml
File metadata and controls
25 lines (21 loc) · 672 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
version: 0.2
phases:
install:
runtime-versions:
nodejs: 14
commands:
# Install yarn
- apt update
- apt install --no-install-recommends yarn
#- curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash
#- sudo apt-get install -y nodejs
# Install firebase tools
- yarn global add firebase-tools@10.9.2
pre_build:
commands:
# Install all root dependencies
- make install
post_build:
commands:
# Deploy the firebase application using project & CI Token
- make firebase-deploy-simple project=$FIREBASE_PROJECT token=$(make decrypt-deprecated decrypt_value=$FIREBASE_TOKEN)