-
Notifications
You must be signed in to change notification settings - Fork 14
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
[FEATURE REQUEST] Make the Action Faster #2
Comments
I would gladly accept a PR!
thank you! |
Okay, I will try to make a pull request within the next 2 weeks. |
darrenjennings
pushed a commit
that referenced
this issue
Jun 23, 2021
## Summary Instead of using the docker image by algolia for docsearch, this pr uses the source repository for scrapping and uploading to algolia. ## Details Using the source repository, removes the use of jq, installation of docker-cli, the algolia docsearch docker image, and other peer dependencies. Using the python:3.6 as the base image (which comes with git preinstalled), first the algolia-docsearch repository is git cloned. pipenv is installed and then pipenv installed the packages in the Pipfile. ## Improvements The running time of the action has now reduced by 40 seconds. ## Further Comments I have made a few other fixes/corrections like correcting the spelling of algolia. Also, I changed the config.example.json since it took a lot of time to index and the difference could not have been made clear. Closes #2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, excellent action for uploading search indexes to algolia!
I am using it it for a documentation repo.
Currently, the action is taking around 1.5 mins to complete which is according to me okay but can be certainly improved.
If we can speed up the build using caching, it would be awesome.
I found one example: https://pythonspeed.com/articles/speeding-up-docker-ci/
If this idea can work out, I am willing to collaborate.
Thank you.
The text was updated successfully, but these errors were encountered: