Skip to content

Commit

Permalink
Merge pull request barryclark#60 from sujaykundu777/bug-fixes
Browse files Browse the repository at this point in the history
added firebase deploy action
  • Loading branch information
sujaykundu777 authored Jun 19, 2020
2 parents 4177c3b + 5eec3e8 commit 2cb4407
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/firebase_deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build and Deploy to Firebase Hosting
on:
push:
branches:
- master

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

0 comments on commit 2cb4407

Please sign in to comment.