Open viveknath3222 opened 1 year ago
Use Case:
I've multiple branches -
Development - On my local I made changes to code and push to development branch and its not connected to any server.
Staging - This branch needs to connect to a staging server. When all the testing is done I'll merge development branch to staging branch.
Main - This branch needs to connect to main server. When all the testing is done I'll merge staging branch to main branch.
Is this posible?
Yes, it is possible. Try taking a look at this page which explains the workflow syntax.
I think you will be able to do what you want by using the
on: push: branches: - branch_name
filter
Use Case:
I've multiple branches -
Development - On my local I made changes to code and push to development branch and its not connected to any server.
Staging - This branch needs to connect to a staging server. When all the testing is done I'll merge development branch to staging branch.
Main - This branch needs to connect to main server. When all the testing is done I'll merge staging branch to main branch.
Is this posible?