You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
at file repo.model.js => ... var command = "git pull --verbose"...
Consider adding some extra parameters or new steps during the clone/pull request so to be able to set the source-branch instead default "main/master". For example it could be:
...
git clone -b dev https://github.com/user/repo.git
... or ...
git clone https://github.com/user/repo.git
git fetch
git checkout dev
git pull origin dev
So with this feature you could use DEV branch for test env, then MAIN/MASTER for prod env
The text was updated successfully, but these errors were encountered:
dariopai
changed the title
be possible the sync forms from GIT but specifying a fixed branch instead of default "main/master"
be possible to sync forms from GIT but specifying a fixed branch instead of default "main/master"
Aug 23, 2024
I’m also interested in this feature. We manage multiple environments, including development, acceptance, and production. For my development AnsibleForms system, I need the develop branch to handle data for both the "forms" and "playbooks" repositories.
added in latest beta 5.0.8, you will need to remove and re-add the repo, as the clone is done on creation. Can someone test ? For the very fast ones... build is still running... give it another 5 minutes.
at file repo.model.js => ... var command = "git pull --verbose"...
Consider adding some extra parameters or new steps during the clone/pull request so to be able to set the source-branch instead default "main/master". For example it could be:
...
git clone -b dev https://github.com/user/repo.git
... or ...
git clone https://github.com/user/repo.git
git fetch
git checkout dev
git pull origin dev
So with this feature you could use DEV branch for test env, then MAIN/MASTER for prod env
The text was updated successfully, but these errors were encountered: