amplify-hosting
amplify-hosting copied to clipboard
Wrong source repository url
Describe the bug In my gitlab repository, I renamed master branch to main. The shown source repository url from amplify now is set to gitlab.com/repository-name/group-name/tree/master instead of /main/.
To Reproduce Steps to reproduce the behavior:
- Create a gitlab repository
- Rename master to main
- connect branch to aws amplify
- see source repository url
Expected behavior It is expected to connect to the right url, so the deployment can work properly.
Desktop (please complete the following information):
- OS: Mac OS Big Sur 11.1
- Browser Safari
Similar issue using github. Source repository information keeps switching between https://github.com/undefined/tree/master
and the correct repo url, but with /master
instead of /main/
Facing the same issue. Did you guys figure it out?
Facing the same issue. Did you guys figure it out?
Try creating your app using Amplify CLI.
I had to delete the app I created using the web interface, and create another one using the CLI tool. That was the only solution I could find.
@batistaleandro using the Amplify CLI is not possible in my use case. I need a workaround for this issue, it is effecting production and non-production workloads