21 lines
505 B
YAML
21 lines
505 B
YAML
name: Deploy to Firebase Hosting
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
Firebase:
|
|
name: Firebase
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repo
|
|
uses: actions/checkout@master
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 10.x
|
|
registry-url: 'https://registry.npmjs.org'
|
|
- name: Install Dependencies
|
|
run: npm install
|
|
- name: Deploy to Firebase Hosting
|
|
run: |
|
|
npm run deploy --token=${{ secrets.FIREBASE_TOKEN }} |