Deploying to Multiple Domains within the same project
See original GitHub issueAction config
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_xxxxxx }}'
channelId: live
projectId: xxxxx
Actual behavior
It works, but I would like to know how to change it to work for a specific project.
- In Firebase I have the main project
start-bootstrapbut I also have another 20 different, but they are in the same project but all have different subdomains. When I deploy all my projects, they deploy tostart-bootstrap, but I want them to have different subdomains
Issue Analytics
- State:
- Created 2 years ago
- Comments:13
Top Results From Across the Web
How can I serve multiple projects under a single domain?
Learn how to serve multiple Vercel projects from a single domain. ... Instead of deploying a project with source code, you can deploy...
Read more >Adding multiple, custom domains - Surge
You can accomplish the same, desired result—making a project available at mutliple domain names—by redirecting your other domains, to the project's primary ...
Read more >Sites with multiple domains - Netlify Docs
Manage multiple domains for your site using domain aliases and domain-level redirects. Set a primary domain, and consider using branch subdomains.
Read more >Firebase hosting with multiple directories at multiple domains
You can associate multiple domains with a single site, but at present you cannot have multiple sites in the same project.
Read more >Share project resources across multiple sites | Firebase Hosting
On this page · Step 1: Update your Firebase CLI version · Step 2: Add additional sites. Delete a secondary site · Step...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@killoblanco if you have any questions let me know, otherwise closing
Hi, yesterday (05/24/2022) I did face this issue. Below is a code snippet letting you know how I did figure it out. I hope this helps to solve this issue 😃
secrets.FIREBASE_TOKENwas generated by runningfirebase login:cliMy conclusion about this is that as far as the firebase CLI uses the file
.firebasercbut this is usually not committed in the repository you must install and create the file on the remote process before running the action, so the action can perform successfully