Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Deployment process - stage to production

Avatar

Avatar
Validate 1
Level 1
alexb75062655
Level 1

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
alexb75062655
Level 1

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
alexb75062655
Level 1

17-08-2020

Feel like I must be missing something obvious but I couldn't see any help documentation that explains the process of moving a build from stage to production.

 

I have run aio app deploy and everything is working nicely in Stage but I couldn't see a way to move things across. I can see it's possible for me to add the Services etc again in the Production environment but is that meant to be the process?

View Entire Topic

Avatar

Avatar
Give Back 3
Level 2
SarahXu
Level 2

Likes

7 likes

Total Posts

33 posts

Correct Reply

5 solutions
Top badges earned
Give Back 3
Give Back
Boost 5
Boost 3
Boost 1
View profile

Avatar
Give Back 3
Level 2
SarahXu
Level 2

Likes

7 likes

Total Posts

33 posts

Correct Reply

5 solutions
Top badges earned
Give Back 3
Give Back
Boost 5
Boost 3
Boost 1
View profile
SarahXu
Level 2

17-08-2020

Hi @alexb75062655 

 

Thank you for using Project Firefly! Currently, there isn't a way to automatically promote your build to production. Here's how you can promote it --

  1. Set up your production environment on Console with the same services needed for your application (this is necessary to separate production credentials from stage credentials)
  2. Go back to your code. Leverage the following commands to select your production workspace
    1. `aio console org list / select`
    2. `aio console project list / select`
    3. `aio console workspace list / select`
  3. Once you are on the production workspace, which you can check using `aio where`, go to your project root folder, do `aio app use` to switch to use your production environment.
  4. You should see your application live in your production workspace after this. You can also use Console to publish your application when it's ready!