decla-red/.github/workflows/main.yaml
schmelczerandras 78b1d648ee Fix argument
2020-10-02 15:45:08 +02:00

23 lines
570 B
YAML

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
working-directory: frontend
- name: Deploy html
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting --project decla-red
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
PROJECT_PATH: frontend