Repository navigation
Set up production deployment - #115
Conversation
|
Hi @chennes Some questions to be sure I understand what is going on:
|
Yes, that's correct.
Yes - I think it's reasonable to expect project maintainers to know the process, but we also have some protections. Because the two paths use different environments, I have them set up slightly differently. Maintainers are allowed to override the "second set of eyes" check on Staging, but not on Production. Someone other than the action's original runner must approve the run to Production, and you can only deploy to Production from main, not from any other branch. But yes, documenting all of this someplace, and making sure everyone on the project knows how it works, is an important step here.
Yes, both from the actions and from the on-server authorized-keys file.
It won't fail, it will actually appear to work perfectly, but only someone with direct server access will be able to see that anything changed. This server exists and is ready to go, it's simply that "freecad.org" is not being fed from it, at the nginx sites-available level. So deploy to Production all you want for the time being, no one can see it. |
|
Thanks for the detailed reply! |
Migrate from our current staging-only workflow to one that includes production deployment. Note that this is currently safe to test in either mode since the production server isn't active in the nginx configuration yet.