wrokflow S
This commit is contained in:
21
.github/workflows/firebase.yml
vendored
Normal file
21
.github/workflows/firebase.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
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 }}
|
Reference in New Issue
Block a user