Manual push from Github for deployment?

amazingjoePRO

10 months ago

I have two environments Production and a Sandbox. For the Sandbox the automatic push every time I update the repo is great. But for Production I would prefer to click a button to initiate deployment vs. the deployment happening automatically when my repo is updated.

Is there a setting that I am missing that I should be using to keep connected with my Github repo but turn off the automatic deployment?

0 Replies

amazingjoePRO

10 months ago

1403d8a3-d1fc-487a-9eac-065da725466c


10 months ago

the only options i can think of would be some kind of github action that uses railway up or disconnect the service from the branch and use cmd / ctrl + k -> Deploy latest commit and that will deploy from the main branch


amazingjoePRO

10 months ago

But if I disconnect so its not automatic will the ctrl + k deploy latest commit know which repo?


amazingjoePRO

10 months ago

*Sorry which branch


10 months ago

it deploys from main


10 months ago

or so im told


amazingjoePRO

10 months ago

That should work. Thank you for the help.


10 months ago

no problem!


10 months ago

update, this does indeed work as intended

1260842746978107400
1260842747284295700