@@ -5,9 +5,14 @@ For more customization, see the development documentation.
55
66## Methods
77There are diverse possibilities to deploy a new instance with a custom
8- Find, generally it will need the correct values for the ` I4K_FIND_URL `
9- environment variable, ` https://example.org/my-find ` . As reference,
10- check the different CI/CD workflow recipes.
8+ Find. The OpenSearch configuration is generated from the ` I4K_FIND_URL `
9+ environment variable (e.g., ` https://example.org/my-find ` ).
10+
11+ ** For GitHub Pages deployments** : The ` I4K_FIND_URL ` automatically defaults
12+ to your repository's GitHub Pages URL, so no manual configuration is needed.
13+
14+ ** For custom domains** : Set the ` I4K_FIND_URL ` environment variable to your
15+ deployment URL. As reference, check the different CI/CD workflow recipes.
1116
1217> The recommended method is to use a CI/CD recipe to deploy a custom
1318> instance, to a custom server (or pages like the default
@@ -39,11 +44,13 @@ Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=
3944### github fork & actions (for own instance)
4045- fork this repository
4146- enable "pages from actions" in the settings
42- - customize the ` I4K_FIND_URL ` env var (it will try to default to the
43- github pages deployment URL)
4447- run the "static.yml" workflow
4548- visit the fork's github page
4649
50+ ** Note** : The ` I4K_FIND_URL ` environment variable automatically defaults to
51+ your GitHub Pages URL (` https://{owner}.github.io/{repo}/ ` ). You only need
52+ to set it manually in repository variables if deploying to a custom domain.
53+
4754### gitlab pages
4855- fork this repository on gitlab
4956- it should use the ` pages ` job/pipeline, that will deploy a new instance
0 commit comments