Hi, How can you deploy different frontends with same backend. Amplify only let me use same repository with multiple branches, can I use multiple repositories?
By "deploy" if you mean running amplify publish to deploy to Amplify's static hosting then the answer is no, you can't publish frontends in different repositories. Even if the Amplify cli allows you to do that, your repos will override each other.
Hi,
yes I was having the same question you have.
I think the solution is to add multiple branches in the frontend envirmoent and do the sub-domain configration with amplify framework in the console .
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi, How can you deploy different frontends with same backend. Amplify only let me use same repository with multiple branches, can I use multiple repositories?
That's an issue, thanks for bringing it up. You actually need to be in the same repo and have different branches there.
I think this link answer your question
docs.amplify.aws/cli/teams/multi-f...
That link doesn't answer Mau's question.
By "deploy" if you mean running
amplify publish
to deploy to Amplify's static hosting then the answer is no, you can't publish frontends in different repositories. Even if the Amplify cli allows you to do that, your repos will override each other.Hi,
yes I was having the same question you have.
I think the solution is to add multiple branches in the frontend envirmoent and do the sub-domain configration with amplify framework in the console .