firebase-action | GitHub Action for interacting with Firebase | Authentication library

 by   w9jds Shell Version: v11.24.1 License: MIT

kandi X-RAY | firebase-action Summary

kandi X-RAY | firebase-action Summary

firebase-action is a Shell library typically used in Security, Authentication, Firebase applications. firebase-action has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

GitHub Action for interacting with Firebase
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              firebase-action has a medium active ecosystem.
              It has 826 star(s) with 178 fork(s). There are 6 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 21 open issues and 107 have been closed. On average issues are closed in 85 days. There are 4 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of firebase-action is v11.24.1

            kandi-Quality Quality

              firebase-action has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              firebase-action 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

              firebase-action 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 firebase-action
            Get all kandi verified functions for this library.

            firebase-action Key Features

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

            firebase-action Examples and Code Snippets

            No Code Snippets are available at this moment for firebase-action.

            Community Discussions

            QUESTION

            Environment variables when deploying Firebase Cloud functions with Github Actions
            Asked 2021-Jul-06 at 12:34

            I have been trying to automate the deployment of firebase cloud functions using the Github actions CI/CD workflows. The functions are developed using NodeJs, Express, and Typescript. And all environment variables are saved in a .env file that is not tracked on github (for obvious reasons)

            The main.yaml file (in .github/workflows/)

            ...

            ANSWER

            Answered 2021-Jul-06 at 12:34

            I solved this problem. The answer was very simple: instead of following the different tutorials that use "w9jds/firebase-action@master" for the deployment, I simply used firebase deploy :)

            The new main.yaml

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

            QUESTION

            How to Add Badges to .readme with Github Actions for a React App
            Asked 2021-Apr-12 at 13:39

            Let's say I have a basic github action that builds my application, then deploys it to firebase:

            ...

            ANSWER

            Answered 2021-Apr-12 at 13:39

            Here is documentation for how to add a workflow status badge.

            The status badge represents an image - .png this image is automatically updated by GitHub - e.g if your workflow is:

            • successful the badge will be "green" and the status "success"
            • failing the badge will be "red" and the status "failed"

            The first part of the badge is the name of the workflow (either the name: attribute or the name of the file)

            You can also use the UI to generate a badge. See more in this answer.

            Q: Do I need to have the badge in my readme before I run the action?

            A: No you can add it anytime, if you add it before the workflow it shows no information (gray coloring). Keep in mind that you may need to "force refresh" the browser to see the new image (browser caching images)

            Q: Is the build badge a stable url, or is it changed by the action at runtime?

            A: It is as stable as the name of the workflow - if you change the name the badge will stop working.

            Q: Is this something you can even do with actions or do you need to use travis-ci?

            A: It is GitHub Action functionality, you do not need Travis-CI

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

            QUESTION

            No files were found with the provided path: build. No artifacts will be uploaded. - Github Action for deploying React App to Firebase
            Asked 2021-Apr-12 at 02:03

            I'm following this tutorial on setting up CI/CD with github actions for a react app. I want the action to build and deploy my react app to my firebase project for hosting. I'm fairly sure I'm followed the directions, but when I trigger my action with a push, I get this error:

            ...

            ANSWER

            Answered 2021-Apr-12 at 02:03

            Seems like removing /build from my .gitignore solved the problem. I'm not %100 sure why though, as none of the examples of similar actions I have seen include their build folders.

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

            QUESTION

            GitHub actions not recognizing environment secrets
            Asked 2021-Mar-18 at 10:03

            I just created my first GitHub actions workflow, however, it is not quite working as I intend. I am trying to create a CI/CD pipeline to host my React web app on Firebase whenever I push to the main branch in the repository. I would appreciate any help

            .github/workflows/main.yml (Adapted from here and here)

            ...

            ANSWER

            Answered 2021-Mar-18 at 10:03

            I didn't know about environmental secrets. For example, it doesn't show up in my environment yet. In that case, how about using Secrets? The syntax (${{ secrets.FIREBASE_TOKEN }}) is correct.

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

            QUESTION

            Add .env Secrets to Nuxt App Deploying on Firebase Hosting with Github Actions
            Asked 2021-Jan-19 at 08:45

            I'm trying to deploy a Nuxt app to firebase hosting using github actions...

            The deploy worked fine until I added my firebase config to .env - it runs fine on localhost but when deployed the api key and other config doesn't seem to be registering.

            .env

            ...

            ANSWER

            Answered 2021-Jan-19 at 03:31

            The environment variables were being run on yarn install instead of on yarn generate...

            deploy.yml

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

            QUESTION

            Replace Firebase Project Name with Custom Domain in Email Templates with Action URL
            Asked 2020-Nov-07 at 15:54

            Background

            Firebase Authentication sends out emails for registration, password change etc. These emails contain links with the internal Firebase name of my project.

            Problem

            I want to replace that internal name with my custom domain, which seems to be possible by changing the Action URL and using a Dynamic Link.

            I do not want to handle the email actions with my own code, but just replace the Firebase domain with a custom domain. It is about sending emails that are containing links with a custom domain and thus look nice.

            Existing Answer

            An answer exists, but I do not understand how this exactly works. And I am not able to comment as my reputation is too low.

            https://stackoverflow.com/questions/46972194/how-to-customize-firebase-action-url-for-password-reset-and-email-verification#:~:text=You%20just%20need%20to%20create,Dynamic%20Link%20and%20hit%20done.

            Illustration

            ...

            ANSWER

            Answered 2020-Nov-05 at 09:57

            The procedure is very well explained in this documentaion. you have to:

            1- create the email action handler page

            2- link that page to your email template in the customize action url

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

            QUESTION

            safe security rules for cloud firestore (firebase) without user authentication
            Asked 2020-Oct-13 at 14:34

            I need to write safe security rules for a flutter project that doesn't require user authentication (for a reason) for creating new documents. For all other actions you need to be authenticated. People are only allowed to create a document if they use the app too.

            Is it sufficient if I just limit the amount of created documents in a specific time (with timestamps) and also limit the size, or do I still need to consider something else?

            I'm new to firebase but I kind of know that there are ways to do firebase-actions without the app (that will be creatable from the project) via commands if you just get the project-id. For example that would be a case which I haven't considered yet.

            Regarding the last point: There are three Api keys in the google cloud platform firebase project: An Android key, an IOS key and a browser key. (auto created by Firebase) I thought, maybe if I'd apply a restriction to the Android key, so that only Android apps can use it and likewise for the IOS key, the problem could be solved, but I'm not sure. (I then would restrict the keys via the Google Cloud Platform Project of the Firebase Project.)

            ...

            ANSWER

            Answered 2020-Oct-13 at 14:34

            People are only allowed to create a document if they use the app too.

            This requirement is not enforceable on Firebase. Anyone can take the configuration data from your app, and use that to call the same APIs in the same way. As long as the calls meet your security rules, they will be allowed. And since there's no security rule clause that says "only from my app", you can't limit access to only people using your app.

            Is it sufficient if I just limit the amount of created documents in a specific time (with timestamps) and also limit the size, or do I still need to consider something else?

            How do you want to limit the document creation in time? If you want to do this per user, you'll need to know the user.

            I recommend looking into Firebase's anonymous authentication, which gives user's of your app an ID without requiring them to enter credentials.

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

            QUESTION

            React deployment to firebase using github actions
            Asked 2020-Sep-28 at 08:51
            on:
              push:
                branches:
                  - master
            
            jobs:
              build:
                name: Build
                runs-on: ubuntu-latest
                steps:
                  - name: Checkout Repo
                    uses: actions/checkout@master
                  - name: Install Dependencies
                    run: npm install
                  - name: Build
                    run: npm run 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
                  - name: Deploy to Firebase
                    uses: w9jds/firebase-action@master
                    with:
                      args: deploy --only hosting
                    env:
                      FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
            
            ...

            ANSWER

            Answered 2020-Jun-06 at 12:47

            You're probably unpacking artifact to root directory instead of build/. I'm guessing article was written for download-artifact@v1 while you are using download-artifact@v2 (as that's where master points currently). Difference between both is discussed here.

            I'd verify first what is going on after artifact is downloaded

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

            QUESTION

            React app build/deploy using github actions with secrets
            Asked 2020-Aug-14 at 11:27

            I am trying to accomplish build/deploy my react app that uses Firebase(for now only auth module) using github actions with secrets. For local development I use .env file with webpack and dotenv-webpack library. On local machine all works fine. Dev server get environment varialbles from .env file and inject it. But after build in github actions and deploying package on firebase hosting page return me an error:

            ...

            ANSWER

            Answered 2020-Aug-13 at 22:40
            name: Firebase Deploy
            on:
              push:
                branches:
                  - master
            
            env:
              REACT_APP_API_FB_KEY: ${{ secrets.REACT_APP_API_FB_KEY }}
              REACT_APP_FB_AUTH_DOMAIN: ${{ secrets.REACT_APP_FB_AUTH_DOMAIN }}
              REACT_APP_FB_DATABASE_URL: ${{ secrets.REACT_APP_FB_DATABASE_URL }}
              REACT_APP_FB_PROJECT_ID: ${{ secrets.FB_PROJECT_ID }}
              REACT_APP_FB_STORAGE_BUCKET: ${{ secrets.FB_STORAGE_BUCKET }}
              REACT_APP_FB_MESSAGING_SENDER_ID: ${{ secrets.FB_MESSAGING_SENDER_ID }}
            
            obs:
              build:
                name: Build
                runs-on: ubuntu-latest
                steps:
                  - name: Checkout Repo
                    uses: actions/checkout@master
            ...
            

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

            QUESTION

            Deploying Angular App to Firebase Hosting Github Actions
            Asked 2020-Jul-07 at 01:24

            I'm trying to use Github actions to deploy my Angular app to Firebase hosting. I'm using this action in order to accomplish this. My release.yml file looks like the following:

            ...

            ANSWER

            Answered 2020-Jul-07 at 01:24

            I seemed to have fixed the issue by just simply removing the second section of hosting turning this:

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install firebase-action

            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

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link