question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deploy to multiple environments

See original GitHub issue

Let’s say we want to deploy a preview of one commit to two environments. In our build step we will provide different API base urls for each envirnoment, dev and qa.

Is there any way to achieve this?

I suspect we can do two deploy steps, but it’s not clear how we display in each message which environment the link is for.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
tcrwtcommented, Sep 17, 2021

Looks like this cannot be done without some guidance from firebase team, because if you do two builds like this it will just keep replacing the first github-actions comment containing the link. We need a way to specify multiple previews for multiple environments.

I found your comment while trying to fix a similar issue – I think the fix is described here https://github.com/FirebaseExtended/action-hosting-deploy/issues/143#issuecomment-921789605

0reactions
lukepighetticommented, Apr 5, 2021

I’ll just add that I was also looking for this functionality.

It’s possible this is rolled into having multiple deploy domains and works automatically. I never got around to finding out if that was the case.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multi Environment Deployment with CI/CD | by Anuraag Jain
Automating your app deployment helps you to focus and eliminate the redundant steps. Sometimes your app has to have multiple environments for various...
Read more >
How to use GitLab CI to deploy to multiple environments
If you deploy to multiple environments, GitLab will conserve the history of deployments, which allows you to rollback to any previous version.
Read more >
How to Manage Multiple Environments with DevOps
In most DevOps settings you'll find that there are multiple environments in the pipeline. You might have conditions that change the ...
Read more >
Using workflows to deploy an API to multiple environments
In this tutorial, we will deploy an API to both a staging and production environment. This process is also known as multi-deployment.
Read more >
Using Multiple Environments to Improve Your Development ...
Using multiple environments keeps a team productive: Having multiple environments enables a team to work on parallel development efforts. If ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found