Skip to content

Commit

Permalink
Deploy firebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Igorcbraz committed Sep 19, 2021
1 parent 920d9fd commit fe4ae14
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .firebase/hosting.YnVpbGQ.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
asset-manifest.json,1632066458160,58550794249e4b80cea242f387b55d50ea9a32b57f283fb2f2333b40eb11442f
static/css/main.3a459790.chunk.css,1632066458154,2b34eb68bde793175038aabc5806a7a06206e7844ef8ca57fa3a246bc2be6f8e
index.html,1632066458158,e3a3ba1d545732a3f7ab852b85343292ce6cec19ca8e68e85fe33252b69f55f5
static/css/main.3a459790.chunk.css.map,1632066458157,19415cab7f7d83e1e4142dae67c515a2dddfdc2fdd69276254c5643a9cb9c333
static/js/2.d54978b2.chunk.js.LICENSE.txt,1632066458157,71cf025a1826bd663d8c0853c0ca6ce2f661e4ff5bbd5564e8ce27496fc7e525
static/js/main.f3602012.chunk.js,1632066458154,70e8ba38ead304ff238addabc4d4b7da2bf830e6b4cad2ca36e7ac0762c1b6d0
static/js/runtime-main.b78c0de6.js,1632066458157,ffee7f94b8f93ecf42a82295380594994905f2e558f213d53485cc7ae3346d64
static/js/runtime-main.b78c0de6.js.map,1632066458157,21a8468c8552d863baadfe299cb5f3e00343a676c3273c25641c118620bad638
static/media/answer.4502a8d5.svg,1632066458157,6465bfa59364c7fc2160bd381b17d09c489caefe074b1d1cadef2f578e0a18af
static/media/check.5dfa6ed6.svg,1632066458156,b9fcc334fcd0e8ef3c9cd500a1eba49af20ec93282545ed84bf1026a47289626
static/media/copy.2f36f99e.svg,1632066458156,0ebe264e0607a673dc50a4845e18c85d997268122039e25bf525d5bbf784a6a4
static/media/delete.22ba6e00.svg,1632066458157,e635342da441827b6e9534b7b6a4a191f1cd7e0c0b29556d7bf4c90882a5673b
static/media/google-icon.df15d8e5.svg,1632066458156,cd3ab33c3c216d98720edcb8cc11e6f8db0f3231db83ea8b9f8f823f9508a92a
static/media/illustration.ae7276f0.svg,1632066458153,89e4a259ad0ce00acfcabd97001e49eff513e275001c367eae41fbf126f99560
static/media/logo.a88331cb.svg,1632066458156,b3f884b8ad98e27ebdaa72643acefff196cd85043a938871aaf74c2c2b3ca262
static/js/main.f3602012.chunk.js.map,1632066458157,f9e670d548be52470e7e31181263cdba009059487fe815452dce820682fea7bd
static/js/2.d54978b2.chunk.js,1632066458157,ee9049fc3efdeca1e0aac4aade72a4104aa16ae757b688ade77999ff77d21883
static/js/2.d54978b2.chunk.js.map,1632066458168,f8856a463fa077cd62604d4cf524036d36e9f80f7490fcaa09511b67f4840dab
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "letmeask-d58e1"
}
}
20 changes: 20 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_LETMEASK_D58E1 }}'
channelId: live
projectId: letmeask-d58e1
17 changes: 17 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on PR
'on': pull_request
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_LETMEASK_D58E1 }}'
projectId: letmeask-d58e1

0 comments on commit fe4ae14

Please sign in to comment.