Skip to content

Merge pull request #86 from bronisMateusz/dependabot/npm_and_yarn/ip-… #19

Merge pull request #86 from bronisMateusz/dependabot/npm_and_yarn/ip-…

Merge pull request #86 from bronisMateusz/dependabot/npm_and_yarn/ip-… #19

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@main
- name: Install Dependencies
run: yarn && yarn postinstall
- name: Build
run: yarn build
- name: Archive Production Artifact
uses: actions/upload-artifact@main
with:
name: dist
path: dist
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@main
- name: Download Artifact
uses: actions/download-artifact@main
with:
name: dist
path: dist
- name: Deploy to Firebase
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}