Skip to content

Move deployment to draw.marbal.ca #15

Move deployment to draw.marbal.ca

Move deployment to draw.marbal.ca #15

Workflow file for this run

name: Build & Deploy to Firebase Hosting
on:
push:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-deploy:
name: Build & Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Install build dependencies
run: npm install
- name: Build
run: make min
- name: Install deploy dependencies
run: npm install -g firebase-tools
- name: Create service account key file
run: echo '${{ secrets.GSA_KEY }}' > "$HOME"/gsakey.json
- name: Deploy to Firebase Hosting
run: export GOOGLE_APPLICATION_CREDENTIALS="$HOME"/gsakey.json && firebase deploy --only hosting