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
Percy3d ago
Project ID: 1403d8a3-d1fc-487a-9eac-065da725466c
Joseph U.
Joseph U.3d ago
1403d8a3-d1fc-487a-9eac-065da725466c
Solution
Brody
Brody3d 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.3d ago
But if I disconnect so its not automatic will the ctrl + k deploy latest commit know which repo? *Sorry which branch
Brody
Brody3d ago
it deploys from main or so im told
Joseph U.
Joseph U.3d ago
That should work. Thank you for the help.
Brody
Brody3d ago
no problem!
Brody
Brody3d ago
update, this does indeed work as intended
No description
No description