photos/.github/workflows/main.yaml
Andras Schmelczer 2010af6c12 ?
2021-05-30 11:56:27 +02:00

21 lines
527 B
YAML
Executable file

name: Deploy site
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 install
npm run build
- name: Deploy html
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting:photo-schmelczer-dev --project schmelczer-dev
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}