Skip to content
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

Add CI for testing and preview builds #6

Open
bkmgit opened this issue Oct 6, 2022 · 7 comments
Open

Add CI for testing and preview builds #6

bkmgit opened this issue Oct 6, 2022 · 7 comments

Comments

@bkmgit
Copy link
Contributor

bkmgit commented Oct 6, 2022

https://docusaurus.io/docs/deployment

@Kalebu
Copy link
Contributor

Kalebu commented Oct 10, 2022

Hi Benson

Thank you for the recommendation, you can also contribute it by Create a PR

Let me know incase you need any further details for you to contribute @bkmgit

@bkmgit
Copy link
Contributor Author

bkmgit commented Oct 11, 2022

Can make a PR. For deployment previews, do you have a preferred provider, for example Vercel, Netlify, Cloudflare

@Kalebu
Copy link
Contributor

Kalebu commented Oct 11, 2022

Yes vercel but also okay with the rest

@bkmgit
Copy link
Contributor Author

bkmgit commented Oct 12, 2022

Ok, thanks. It seems that docs.sarufi.io is hosted on AWS, so possibly that could also be used for previews? See for example https://significa.co/blog/deploy-previews-aws

@bkmgit
Copy link
Contributor Author

bkmgit commented Oct 12, 2022

@Kalebu Started on script to build the site using GitHub actions https://github.com/bkmgit/sarufi-docs/blob/ci-build/.github/workflows/build-site.yml

@bkmgit
Copy link
Contributor Author

bkmgit commented Oct 13, 2022

Possibly also helpful https://github.com/rossjrw/pr-preview-action

@bkmgit bkmgit closed this as completed Oct 13, 2022
@bkmgit bkmgit reopened this Oct 13, 2022
@bkmgit
Copy link
Contributor Author

bkmgit commented Oct 19, 2022

@Kalebu Usng CI to generate and deploy the site. A sample deployment is available here. The CI file is available here At present it deploys in the organization where the changes are made. it may be better to deploy within https://github.com/Neurotech-HQ/sarufi-docs when pull request is made and then generate a link note that a directory is made for each deployment. These can be cleaned up, say after one week.

Otherwise, if you prefer to use Netflify/Cloudflare/Vercel/AWS please make an account that I can use to configure deployments on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants