All Questions
Tagged with github-actions firebase
134 questions
0
votes
0
answers
43
views
how to add/pass .env file using github action in firebase hosting
i want to add or run .env file in firebase using github action
here is what i did
.github/workflows/firebase-hosting-merge.yml
name: Deploy to Firebase Hosting on merge
on:
push:
branches:
...
0
votes
0
answers
31
views
Generate Sitemap dynamically Nextjs + Firebase
I have a Next.js (14.2.12) app hosted on Firebase, which uses Firebase Hosting and Firebase Functions for SSR. In my app, I have blogs that I pull in dynamically from Wix. Every new post I put on Wix, ...
0
votes
0
answers
30
views
Backup Firestore not working with Github Actions Error 127
I have been using Github actions to backup firestore for the past year with no issues on a cron job that runs everyday but it recently started giving me an error. An error i don't understand.
name: ...
1
vote
1
answer
167
views
For Firebase App Distribution , how to set version number from Github Action?
I want to set the version number from the GitHub action script for Firebase App distribution. Here is the place:
I have already tried using the below Github action script, but it seems there are no ...
0
votes
1
answer
58
views
Issue with GitHub Actions and Docker: 'GitHub Personal Access Token is not set' during Electron/Firebase build
I've been trying to set up CI/CD for my project that uses Electron and Firebase, but I'm facing issues with GitHub secrets. I placed my PAT (Personal Access Token) inside a secret, but when GitHub ...
0
votes
0
answers
32
views
FirebaseExtended/action-hosting-deploy GH Action returns invalid details_url
The problem I have is with the details_url stored as Action summary. Here's my workflow:
name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- master
jobs:
build_and_deploy:
...
0
votes
0
answers
142
views
Firebase hosting with vite
I’m working on setting up a GitHub Actions workflow to automatically deploy my Vite application to Firebase Hosting when a pull request (PR) is made and merged. I’ve successfully initialized Firebase ...
0
votes
0
answers
53
views
"User cannot be authenticated with the token provided" when deploying a Cloud Function with a GitHub Package inside
I'm experiencing an issue with a NestJS project I am working on. The project includes a set of Firebase Functions, and I'm trying to integrate a private Node package published through GitHub Packages.
...
0
votes
0
answers
50
views
HTTP Error: 403, Permission 'firebasestorage.defaultBucket.get' denied on resource
I'm encountering an error when deploying to Firebase using the latest version of firebase-tools. The deployment was working fine previously, but now I'm getting a permission denied error related to ...
0
votes
1
answer
41
views
Firebase Cloud Function triggers on create but raises "Resource string did not match expected format" Error
I'm deploying a Firebase Cloud Function using the Google-Github-Actions.
- id: onItemCreate
name: Deploy onItemCreate
uses: google-github-actions/[email protected]
with:
...
2
votes
1
answer
49
views
Firebase Deploy doesn't works in GItHub Actions workflow?
I have an issue when i try to use GitHub Actions in my Angular project i'd setup my project following these steps on the Firebase Site and the console shows this error
Error: Directory 'dist\arkdia-...
0
votes
1
answer
46
views
GitHub action fails to locate firebase.json
My nest.js app can deploy to firebase locally no problem via the CLI. However, my GitHub action fails and outputs an error:
Error: Not in a Firebase app directory (could not locate firebase.json)
I'...
3
votes
1
answer
361
views
Add GOOGLE_APPLICATION_CREDENTIALS to deploy functions for Firebase un Github Actions CI/CD pipeline
After reading all of the forums on the topic I still haven't found an answer to my question. I want to deploy Firebase functions via a GitHub actions workflow.
For this I cannot use firebase login, I ...
1
vote
0
answers
23
views
Missing Firebase SA Credentials in GitHub Actions
I'm trying to implement CI/CD for a simple NextJS app router with Firebase. Of course, Firebase SA credentials are not recommended to be pushed into repos. I am unable to build the app as one my file ...
3
votes
1
answer
110
views
Malformed root json at /home/runner/work/Remember-Me/Remember-Me/app/google-services.json
I ignored google-services.json from my repo, but I'm using Github Actions to build the APK, so I need that google-services.json file eventually, I followed an article that suggests to encode the file ...