internet4000 / internet4000/find

github pages action has the wrong URL on instances (test deployment recipies)

Open
#99 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
45
Forks
3
PR merge metrics
No merged PRs in 30d

Description

In the case of the fork https://github.com/4www/find

and its deployment page https://4www.github.io/find/

the view-source:https://4www.github.io/find//assets/opensearch.xml has *incorrect values*, and point to the `internet4000.github.io/find` instance

the workflow job https://github.com/internet4000/find/blob/main/.github/workflows/static.yml#L26-L27

is called to generate the XML (for each deploy) in this script https://github.com/4www/find/blob/main/src/scripts/opensearch-xml.js#L46

and uses `I4K_FIND_URL` from the env vars.

It should be customized manually in github UI, by should be used with a value provided by github actions runners https://github.com/internet4000/find/blob/main/.github/workflows/static.yml#L28-L29

Not sure why it does not pick it.

- generally, try each deployment recipe, and see Find works correctly (generating the files etc.) for each of them, without the need of any user configuration

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with .github/workflows/static.yml at lines 26-29 and src/scripts/opensearch-xml.js at line 46, then compare the generated opensearch.xml for the 4www/find deployment with the workflow configuration. Test each deployment recipe and verify that generated files use the current deployment URL without requiring manual user configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, javascript
Domain
devops, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.