EmbeddedChat icon indicating copy to clipboard operation
EmbeddedChat copied to clipboard

[FEAT] Added support to deploy monorepos to github pages

Open devanshkansagra opened this issue 1 year ago • 6 comments

Acceptance Criteria fulfillment

  • [x] Deploy the monorepo to the github pages

Fixes #612

Video/Screenshots

Screencast from 2024-07-26 09-14-45.webm

devanshkansagra avatar Jul 26 '24 03:07 devanshkansagra

Thanks a lot for your contribution @devanshkansagra ❤️

Spiral-Memory avatar Jul 26 '24 03:07 Spiral-Memory

LGTM! Let's wait for the layout editor and docs to be merged. Then we can add the docs and editor to the deployment as well.

Spiral-Memory avatar Jul 26 '24 04:07 Spiral-Memory

Sure

devanshkansagra avatar Jul 26 '24 04:07 devanshkansagra

Hey @devanshkansagra , I was going through your pr and I noticed that the deploy job in this workflow contains two actions/checkout steps. It seems redundant to check out the code twice when once should be sufficient. Could you please explain why both steps are necessary?

smritidoneria avatar Jul 26 '24 07:07 smritidoneria

It's fantastic to see contributors reviewing each other's code, asking questions, and learning together! Keep up the great work and continue learning 🙏

Spiral-Memory avatar Jul 26 '24 07:07 Spiral-Memory

Hey @smritidoneria, thank you for pointing out about those redundant lines. Yesterday I was researching from the fuselage repo, this-dot article, and ai, so those lines might be added during the research and I might didn't have noticed about that redundancy. I have removed that redundant line and pushing the code.

I have seprated build workflow and deploy workflow, because incase in future some error occured in the deploy action(deploy.yml), it will be easy to find out at which workflow the error has occured.

devanshkansagra avatar Jul 26 '24 08:07 devanshkansagra

@devanshkansagra Layout editor has been added, you can now include that and docs in deployment

Spiral-Memory avatar Aug 08 '24 16:08 Spiral-Memory

Sure, I will add it.

devanshkansagra avatar Aug 08 '24 16:08 devanshkansagra

Hey @Spiral-Memory and maintainers, I have added the layout editor in the deploy workflow, can you please review it?

devanshkansagra avatar Aug 08 '24 18:08 devanshkansagra

LGTM !

Can you once share me forked deploy URL for that ?

Spiral-Memory avatar Aug 08 '24 18:08 Spiral-Memory

LGTM !

Can you once share me forked deploy URL for that ?

Hey @Spiral-Memory, I did not implemented in my forked repo, instead I have created another repo so that if something happens my fork does not break here's that repo url: https://github.com/devanshkansagra/EC

devanshkansagra avatar Aug 08 '24 18:08 devanshkansagra

LGTM ! Can you once share me forked deploy URL for that ?

Hey @Spiral-Memory, I did not implemented in my forked repo, instead I have created another repo so that if somethings happens my fork does not break here's that repo url: https://github.com/devanshkansagra/EC

Hey, i am not asking for the repo URL, i am asking if you could share me the URL where layout-editor is hosted now ?

Spiral-Memory avatar Aug 08 '24 18:08 Spiral-Memory

LGTM ! Can you once share me forked deploy URL for that ?

Hey @Spiral-Memory, I did not implemented in my forked repo, instead I have created another repo so that if somethings happens my fork does not break here's that repo url: https://github.com/devanshkansagra/EC

Hey, i am not asking for the repo URL, i am asking if you could share me the URL where layout-editor is hosted now ?

https://devanshkansagra.github.io/EC/layout_editor/ this one??

devanshkansagra avatar Aug 08 '24 18:08 devanshkansagra

Yep, thanks.. looking good

Spiral-Memory avatar Aug 08 '24 18:08 Spiral-Memory

Now, only docs deployment is remaining.

Spiral-Memory avatar Aug 08 '24 18:08 Spiral-Memory

Okay, once that will be completed, I will add that also

devanshkansagra avatar Aug 08 '24 18:08 devanshkansagra

It's already in the docs folder now!
Figure out a way to host the .md files in the proper format, then add it to this PR.

Some good examples are Gitbook, Docsify, Mintlify, etc.

Spiral-Memory avatar Aug 08 '24 18:08 Spiral-Memory

Hey, maintainers and @Spiral-Memory, can you review the changes of adding a docs site? So that I can follow up if any improvements needed.

devanshkansagra avatar Aug 12 '24 04:08 devanshkansagra

Ensure that all links reference the documentation website and do not redirect to GitHub markdown files, unless absolutely necessary.

Spiral-Memory avatar Aug 12 '24 07:08 Spiral-Memory

Ensure that all links reference the documentation website and do not redirect to GitHub markdown files, unless absolutely necessary.

You can verify it here: https://devanshkansagra.github.io/EC/docs/

devanshkansagra avatar Aug 12 '24 07:08 devanshkansagra

LGTM! Amazing work

Spiral-Memory avatar Aug 12 '24 08:08 Spiral-Memory

LGTM, ready to merge!

Hey @sidmohanty11,

We might need repo settings access to configure a few things. Let's proceed with the merge and see if it works, or if we need repo settings permissions.

Spiral-Memory avatar Aug 23 '24 14:08 Spiral-Memory