Rename Firebase deploy script

This commit is contained in:
Andras Schmelczer 2022-01-23 23:25:51 +01:00
parent 3f7f868a94
commit 1516033982

24
.github/workflows/deploy-firebase.yaml vendored Normal file
View file

@ -0,0 +1,24 @@
name: Deploy to Firebase
on:
push:
branches:
- main
jobs:
firebase-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout current branch with lfs
uses: actions/checkout@master
- name: Build site
run: |
npm ci
npm run build
- name: Deploy html
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting:schmelczer-dev --project schmelczer-dev
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}