-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
terminus build:env:push Does not work with private git server? #448
Comments
Resolution suggested via PR here: #449 |
Is any chance of the above PR getting merged? |
Tracking private Bitbucket instance support internally as FEAT-1077. There is not an ETA at this time. Changes were requested in #449 on May 2, 2022. |
Until this gets fixed, there's a simple workaround that works for some of the build-tools commands like env:push (those that don't need to interact with GitHub). Changing the origin url "tricks" build tools into thinking it's a GitHub repo. # Set origin to a fake github url
git remote set-url origin [email protected]:fake-org/fake-repo.git
# Push with terminus
terminus build:env:push
# Reset origin url
git remote set-url origin [email protected]:org/repo.git |
We are attempting to push code to a Pantheon multidev environment, after checking it out from a repository on a private github instance. It used to work on an older version of terminus 2.x, but after upgrading to terminus 3.x, we are getting an error regarding the source repository, which should not be a part of the deployment process at this point as the code is being pushed to Pantheon's public repo, not the private source repo.
Expected behavior
(expected terminus to push the site to the remote environment)
Actual behavior
Steps to reproduce the behavior
Repository is hosted on a private enterprise github instance.
Check out repository, run build, etc.
The text was updated successfully, but these errors were encountered: