deploy-firebase | A GitHub Action to deploy to Firebase Hosting | Continuous Deployment library

 by   lowply Shell Version: v0.0.4 License: MIT

kandi X-RAY | deploy-firebase Summary

kandi X-RAY | deploy-firebase Summary

deploy-firebase is a Shell library typically used in Devops, Continuous Deployment, Firebase applications. deploy-firebase has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

A GitHub Action to deploy to Firebase Hosting
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              deploy-firebase has a low active ecosystem.
              It has 53 star(s) with 38 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 2 open issues and 7 have been closed. On average issues are closed in 13 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of deploy-firebase is v0.0.4

            kandi-Quality Quality

              deploy-firebase has 0 bugs and 0 code smells.

            kandi-Security Security

              deploy-firebase has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              deploy-firebase code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              deploy-firebase is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              deploy-firebase releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of deploy-firebase
            Get all kandi verified functions for this library.

            deploy-firebase Key Features

            No Key Features are available at this moment for deploy-firebase.

            deploy-firebase Examples and Code Snippets

            Deploy to Firebase
            Shelldot img1Lines of Code : 20dot img1License : Permissive (MIT)
            copy iconCopy
            name: Build and Deploy
            on:
              push:
                branches:
                - main
            jobs:
              main:
                name: Build and Deploy
                runs-on: ubuntu-latest
                steps:
                - name: Check out code
                  uses: actions/checkout@master
                - name: Build Hugo
                  uses: lowply/build-  

            Community Discussions

            QUESTION

            Using Google Cloud Storage in The Google Cloud Build
            Asked 2021-Nov-26 at 08:26

            According to the documentation google cloud build can build from google cloud storage or a repository. But I'm having a hard time finding documentation on how to use files I upload to google cloud storage in the build steps. My intention is for a website where my jekyll source code is in the repository and my images are in google cloud storage; I'd like to add the images to the jekyll output and then upload to firebase with these steps.

            Thanks for any guidance provided!

            ...

            ANSWER

            Answered 2021-Nov-26 at 08:05

            the firebase cli deploy command uses google cloud storage. They package your local files and upload them to cloud storage and the build process takes the files from there.

            I don't think they thought about the process of 'merging' your repo files and files from cloud storage.

            But you use the steps configuration for cloud build and have 1 step downloading assets from cloud storage with the gcloud cli.

            Source https://stackoverflow.com/questions/70120926

            QUESTION

            How to wait for completion of Firestore indexes deployment more elegantly
            Asked 2021-Sep-15 at 06:25

            The problem with deploying Firestore indexes is that they are long running operations. That means that a deployment call already returns, before all indexes have been updated (see this link). For example, when using Google Cloud Build:

            ...

            ANSWER

            Answered 2021-Sep-15 at 06:25

            There is one gcloud command to check the status of the operation as mentioned in the document.

            Source https://stackoverflow.com/questions/69010385

            QUESTION

            Cloud Build Trigger - Not in Firebase app directory error
            Asked 2021-Mar-14 at 19:18

            I have problem with deploying node.js (Angular) application from Bitbucket repository to Firebase using Cloud Build Trigger. I performed steps from this article - https://cloud.google.com/build/docs/deploying-builds/deploy-firebase

            • Necessary APIs are turned on,
            • Service account has all required permissions,
            • Firebase community builder is deployed and visible in Container Registry,
            • Cloudbuild.json file is added to repository,
            • Cloud Build Trigger is created and it points to one specific branch of my repository.

            Problem is that after running Cloud Build Trigger I receive following error: "Error: Not in Firebase app directory (could not locate firebase.json)"

            What could be reason of such error? Is it possible to point to the trigger where in repository is firebase application and firebase.json file?

            EDIT:
            My cloudbuild.json file is quite simple:

            ...

            ANSWER

            Answered 2021-Mar-14 at 19:18

            I'm pretty sure that you aren't in the correct directory when you run the command. To check this, you can add this step

            Source https://stackoverflow.com/questions/66618903

            QUESTION

            CICD on GCP for Firebase Functions failing due to "replace /workspace/.runtimeconfig.json?" error
            Asked 2021-Mar-01 at 05:19

            I have CICD for cloud functions as some of the functions require token (collection deletion), my pipeline takes care of that.

            Since last release, the cloud build is failing to deploy functions as it's expecting some key press which can't be done during cloud build. The actual log error says the following:

            "replace /workspace/.runtimeconfig.json? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL"

            Locally I am able to run the Cloud Functions with Node 14, but on GCP I'm not able to find a fix for GCP Cloud Build.

            **Note: **

            ...

            ANSWER

            Answered 2021-Mar-01 at 05:19

            Well the answers on other links mentioned above were correct indeed. What I didn't realize was that Docker image of node during build takes the latest automatically. Thus, now it was taking Node 15.xx version.

            To fix this, just update Node version in the cloudbuild.yaml. For example following during npm install on GCP:

            Source https://stackoverflow.com/questions/66296262

            QUESTION

            Quotes in makefile
            Asked 2020-Nov-13 at 14:29

            this is my first post here (maybe more later ^^)

            So, here we are : I'm using Gitlab-CI, docker, makefile, firebase.

            So in my Makefile :

            ...

            ANSWER

            Answered 2020-Nov-13 at 14:29

            If your commit message contains end of lines you cannot pass it to your script as it is. Try, maybe, to substitute end of lines by another character, e.g. -. Of course the way to do it depends on the shell that executes your CI scripts. If it is bash, for instance, the following should work:

            Source https://stackoverflow.com/questions/64802021

            QUESTION

            Proper permission for Cloud Build to deploy to Firebase?
            Asked 2020-Jul-14 at 12:15

            Permissions recommended for the Cloud Build service account in the official Google documentation and the Firebase CLI community builder docs are insufficient:

            1. In the permissions table, locate the email ending with @cloudbuild.gserviceaccount.com, and click on the pencil icon.
            2. Add Cloud Build Service Account, Firebase Admin and API Keys Admin roles.

            I still get the following error in Cloud Build when I do firebase deploy:

            Error: HTTP Error: 403, The caller does not have permission

            What I've tried is different Firebase IAM roles, Editor, and Owner. So far only the Owner role works. That is way too much privilege for a Cloud Build service account, and violates the least-privilege model.

            Everything is in the same Google Cloud project.

            Anyone know how to troubleshoot this? Or know which role/permission is missing?

            ...

            ANSWER

            Answered 2020-Jul-14 at 12:15

            tl;dr seems like it was "an accidental permission expansion" that has been corrected.

            I am able restrict the roles to:

            1. Cloud Build Service Account
            2. Firebase Admin
            3. API Keys Admin

            Source https://stackoverflow.com/questions/62676357

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install deploy-firebase

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/lowply/deploy-firebase.git

          • CLI

            gh repo clone lowply/deploy-firebase

          • sshUrl

            git@github.com:lowply/deploy-firebase.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link