Skip to content

Commit

Permalink
Replace all gh actions with one
Browse files Browse the repository at this point in the history
  • Loading branch information
Gojodzojo committed Jun 3, 2022
1 parent fc191f5 commit 0ebea0a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 39 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copied from https://mdabdulhalimrafi.medium.com/automate-firebase-functions-deployment-with-github-actions-ci-a0eb10fa308d

name: Firebase function deploy
name: Deploy everything to Firebase
on:
push:
branches:
Expand All @@ -12,11 +12,13 @@ jobs:
- uses: actions/checkout@v2
- name: Install npm packages
run: |
npm ci
npm run build
cd functions
npm install
- name: Deploy to Firebase
uses: w9jds/firebase-action@master
with:
args: deploy --only functions
args: deploy
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
20 changes: 0 additions & 20 deletions .github/workflows/firebase-hosting-merge.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/firebase-hosting-pull-request.yml

This file was deleted.

0 comments on commit 0ebea0a

Please sign in to comment.