Manual push from Github for deployment?

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?
Solution:
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
Jump to solution
8 Replies
Percy
Percy4mo ago
Project ID: 1403d8a3-d1fc-487a-9eac-065da725466c
Joseph U.
Joseph U.4mo ago
1403d8a3-d1fc-487a-9eac-065da725466c
Solution
Brody
Brody4mo 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
Joseph U.
Joseph U.4mo ago
But if I disconnect so its not automatic will the ctrl + k deploy latest commit know which repo? *Sorry which branch
Brody
Brody4mo ago
it deploys from main or so im told
Joseph U.
Joseph U.4mo ago
That should work. Thank you for the help.
Brody
Brody4mo ago
no problem!
Brody
Brody4mo ago
update, this does indeed work as intended
No description
No description
Want results from more Discord servers?
Add your server