Skip to content

Commit

Permalink
fix: set deploy on tag push and fix firebase-tools install
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSolati committed Jun 8, 2020
1 parent 886cd28 commit 622359b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Deploy
on:
release:
types: [published]
push:
tags:
- v*
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down Expand Up @@ -35,6 +36,7 @@ jobs:
node-version: 12.x
- name: Install
run: npm ci
- name: Install Firebase Tools
run: npm i -g firebase-tools
- name: Deploy
run: firebase deploy --non-interactive --token $FIREBASE_TOKEN
Expand Down

0 comments on commit 622359b

Please sign in to comment.