Thanks for providing this easy to understand and fully knowledgeable video, I have one question, I want to deploy a team project assigned by another organization, how could I deploy that one?
what about the "secret api keys" how to handle them? do you also push them to the remote repo ?? I'm getting FirebaseError: Firebase: Error (auth/invalid-api-key).
For api keys you need to create your own. Ideally it is not recommended to push the secret api keys to remote git repo. You can add the particular file to .gitignore and it won’t push it to the remote repo
what to input here if the repo is inside an organization ? ? For which GitHub repository would you like to set up a GitHub workflow? (format: user/repository)
I don’t think you can check for token id in the firebase console. They do have a function which you can use in your code to generate token id. You can read more about it here - firebase.google.com/docs/auth/admin/verify-id-tokens#web
Did you follow all the steps? Missing any one steps will not give the required result. Steps - ? Set up the workflow to run a build script before every deploy? Yes ? What script should be run before every deploy? npm ci && pm run build Created workflow file /Users/prasoon/Desktop/YT/fir-react-gha/.github/w orkflows/firebase-hostidg-pull-request.vml ? Set up automatic deployment to your site's live channel when a PR is merged? - Y
@@FullstackSimplified i tried same method sir,now i see the workflow in actions tab,but there was a error icon,i move my cursor on that error there was a msg "the workflow run failed". What i do sir..
I love you man, keep the good work
thank you for the easy-to-understand tutorial, bro!
Glad it was helpful!
Thanks men for the firebase setup!
great job
Really clear and concise - thanks for not wasting any time!!!
Glad it was helpful!
Short, sweet and understandable. Good job! Thank you!
Glad it helped. Thanks for watching
Short, sweet and simple
Been long time. Thanks for the post ✌️
Thanks for watching 🔥
Thank you !!! it was relly clear , a could deployed , great !!!
Glad it helped
Nice videos!! I just became a subscriber so now it's time to marathon all your videos about firebase and you have my gratitude for making them
Thanks for your support.
Of a great help, Proud of you.
Thank you 🔥🔥
Good going bro.. One day definitely you will have lakhs of subscribers go with the same spirit.. 😎
Thanks for the support. Really appreciate 🔥🔥
Simple and understandable ... that's the great thing of your videos 🤩
Thanks for watching 🔥🔥
Excellent video!! Thank you very much :)
Glad you liked it!
Awesome 🔥 thanks bro
Welcome 👍
Tutorial was very easy thank Buddy ❤
Glad it helped. Thanks for watching
Lovely educational video for IT students.keep up .load more video time to time
Thanks for watching 🔥
Great video 👍👍
Very Helpful 😍
Thanks for watching 🔥
Awesome video +++++++++++++++++++
Thank you! Cheers!
How can we add environment variables?.. please reply
Thanks for providing this easy to understand and fully knowledgeable video, I have one question, I want to deploy a team project assigned by another organization, how could I deploy that one?
You need to have the admin access of the git repo
sangat membantu. terima kasih bro
what about the "secret api keys" how to handle them? do you also push them to the remote repo ??
I'm getting FirebaseError: Firebase: Error (auth/invalid-api-key).
For api keys you need to create your own. Ideally it is not recommended to push the secret api keys to remote git repo. You can add the particular file to .gitignore and it won’t push it to the remote repo
2 the point 😇
Thanks for watching
Best information
Thanks for watching 🔥
You saved my Bachelors degree man
Glad it helped. Thanks for watching
what to input here if the repo is inside an organization ?
? For which GitHub repository would you like to set up a GitHub workflow? (format: user/repository)
Thanks alot..👍❤
Commit changes is not visible on action tab, can someone help?
How might someone set environment variables in github actions to be pushed over to the deployed application to set on the site?
You can read about env variables here docs.github.com/en/actions/learn-github-actions/environment-variables
how do icheck token id in firebase console
I don’t think you can check for token id in the firebase console. They do have a function which you can use in your code to generate token id. You can read more about it here - firebase.google.com/docs/auth/admin/verify-id-tokens#web
i used masted instead of main and i can see app running but no output just white screen
Please follow each steps shown in the video. Or do check if 'main' is used in some other step
There is no workflow for firebase in github what to do? Is there is another way to connect github and firebase?
As of now you can do this via firebase cli
Good video bro..bt 04:51 not working in my case.. the messages are given below
There are no workflow runs yet
What i do bro??
And site not found
Did you follow all the steps? Missing any one steps will not give the required result.
Steps -
? Set up the workflow to run a build script before every deploy? Yes
? What script should be run before every deploy? npm ci && pm run build
Created workflow file /Users/prasoon/Desktop/YT/fir-react-gha/.github/w
orkflows/firebase-hostidg-pull-request.vml
? Set up automatic deployment to your site's live channel when a PR is merged? - Y
@@FullstackSimplified i tried same method sir,now i see the workflow in actions tab,but there was a error icon,i move my cursor on that error there was a msg "the workflow run failed".
What i do sir..
And i have another error installing firbase tool time
"Npm warn deprecated debug@4.1.1:dubug version >=3.2.0 =4
Try to install it with sudo if you are on mac/linux. If still it doesn’t work try adding -force flag in your npm install command in the end
👍👍
Thanks for watching 🔥
noob, you can make it deploy in direct push ,
name: Firebase CI
on:
push:
branches: master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [15.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js version ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm install -g firebase-tools
- run: CI=false npm run build
- name: Archive Build
uses: actions/upload-artifact@v2
with:
name: build
path: build
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Download Build
uses: actions/download-artifact@v2
with:
name: build
path: build
- name: Deploy to Firebase
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting
env:
FIREBASE_TOKEN: "${{ secrets.FIREBASE_TOKEN }}"
Awesome! Thanks for sharing