It shouldn't be necessary to use Github secrets. DocSearch Search API keys are public, so you can disclose your API key.
The free DocSearch plan, doesn't include technical web support from the Support team. For further assistance, you can post your question on the Algolia Community Forum or Discord. For front-end issues, you can raise the issue directly on GitHub. In addition, you can review our DocSearch Documentation and FAQ.