Amplify-console: Can't connect Github Repo

Created on 3 Apr 2020  路  5Comments  路  Source: aws-amplify/amplify-console

* Please describe which feature you have a question about? *
I have a react website up and running by using the Amplify CLI and I am able to deploy successfully by doing an amplify publish.

I now want to connect to my GitHub repo but there doesn't seem to be a way to connect my repo to an existing app.

* Provide additional details*
Under my app's general settings, source repository is blank and clicking reconnect repository just spins and nothing happens.

Clicking add environment only gives me drag and drop, S3, and any url options.

I have other repos connected correctly but I have create the app directly using a GitHub repo. This one doesn't seem to work when starting from deployment from CLI.

Any suggestions?

pending-customer-response question

Most helpful comment

I just deleted my app and created a new one connected to my GitHub. All is working now.

All 5 comments

@kershnerd Is this a full stack application (back-end and front-end)? Or is it just a front-end application?

Is there some documentation/links you were following if so please share them.

Also when you say "I have other repos connected correctly but I have create the app directly using a GitHub repo", do you mean that you successfully connected an application by configuring it directly in the Console itself (without using the CLI)?

This is a front end only (ReactJS) web application.

The other amplify reactjs web applications that are connected to a GitHub repo were created not using the CLI.

This app that isn't working was created using the CLI.

Not sure if this screen shot helps, but here it is:
Screen Shot 2020-04-03 at 12 37 52 PM

When I initially clicked reconnect repository it were through the steps to connect to my github in which I had to grant access. Not clicking Reconnect repository just keeps spinning and nothing happens.

@kershnerd Currently an Amplify Console app can either have frontend environments that are manual deploys or continuous deploys. Which means if you have frontend envs that you published manually, you first have to disconnect them to set up Ci/CD.

So I should delete that app and create a new one from a GitHub repo?

I just deleted my app and created a new one connected to my GitHub. All is working now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

asyschikov picture asyschikov  路  5Comments

adamaltman picture adamaltman  路  3Comments

patleeman picture patleeman  路  5Comments

lucaluke88 picture lucaluke88  路  4Comments

kontrol-debug picture kontrol-debug  路  4Comments