Skip to content

Conversation

@neuromechanist
Copy link
Member

Problem

The workflow script hardcoded 'main' branch for GitHub Pages deployment, but the neuromechanist.github.io repository uses 'hugo' branch. This caused silent deployment failures.

Solution

  • Updated script to dynamically detect current branch instead of hardcoding
  • Fixed dashboard URL (removed incorrect '/static/' prefix)

Testing

Files Changed

  • run_end_to_end_workflow.sh (line 550-553): Dynamic branch detection and URL fix

Fixes silent deployment failures observed in PR #25 workflow run.

The neuromechanist.github.io repository uses 'hugo' branch instead of 'main'.
Updated deployment script to detect current branch dynamically rather than
hardcoding 'main', preventing push failures. Also corrected the dashboard URL
to remove incorrect '/static/' path prefix.

Tested: Successfully deployed dashboard to GitHub Pages at
https://neuromechanist.github.io/dataset_citations_dashboard_nemar.html
- Deploy dataset_citations_dashboard_nemar.html as dataset_citations_dashboard.html
- Copy dashboard_templates.js to static directory
- Update URL to reflect correct filename without _nemar suffix

Ensures dashboard is deployed to the correct URL that users expect.
@neuromechanist neuromechanist merged commit 9640200 into main Nov 19, 2025
7 checks passed
@neuromechanist neuromechanist deleted the fix/github-pages-deployment-branch branch November 19, 2025 16:44
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

Successfully merging this pull request may close these issues.

2 participants