-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (35 loc) · 1.04 KB
/
firebase.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
name: Firebase
on:
push:
branches:
- main
jobs:
firebase-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
submodules: true
- uses: actions/setup-node@master
with:
node-version: 10.x
- uses: DamianReeves/[email protected]
with:
path: .env.production
contents: |
MATOMO_URL=${{ secrets.MATOMO_URL }}
MATOMO_SITE_ID=${{ secrets.MATOMO_SITE_ID }}
FRESHCHAT_TOKEN=${{ secrets.FRESHCHAT_TOKEN }}
FRESHCHAT_HOST=${{ secrets.FRESHCHAT_HOST }}
FUNCTIONS_HOST=${{ secrets.FUNCTIONS_HOST }}
SLACK_CLIENT_ID=${{ secrets.SLACK_CLIENT_ID }}
write-mode: overwrite
- run: npm install
- run: npm run build
env:
GHOST_API_KEY: ${{ secrets.GHOST_API_KEY }}
- uses: w9jds/firebase-action@master
with:
args: deploy --only hosting:minimum-viable-marketing --project ${{ secrets.FIREBASE_DOMAIN }}
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}