Skip to content

Replace implicit branch-based Pages publishing with an explicit deploy workflow - #70

Merged
tsalo merged 3 commits into
mainfrom
copilot/fix-deploy-job-failure
Aug 6, 2026
Merged

Replace implicit branch-based Pages publishing with an explicit deploy workflow#70
tsalo merged 3 commits into
mainfrom
copilot/fix-deploy-job-failure

Conversation

Copilot AI commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

The failing deploy job was coming from the repository’s Pages publishing path rather than dataset code changes. This updates the repo to build and deploy the site explicitly from the repository, instead of relying on the existing gh-pages branch flow.

  • Move Pages publishing into Actions

    • Add .github/workflows/deploy.yml to build the Jekyll site and deploy it with actions/deploy-pages
    • Trigger on site/workflow changes and deploy from main
  • Check in the actual site source

    • Bring the Jekyll site content into the repository root:
      • 404.html
      • _config.yml
      • _layouts/
      • _posts/
      • about.md
      • index.html
      • Gemfile / Gemfile.lock
  • Remove layout/theme mismatches from the site

    • Switch pages using missing layouts (home, page) to the existing default layout
    • Simplify the Gemfile to the GitHub Pages dependency set
    • Replace runtime site.github.* dependencies in the layout with explicit repository metadata in _config.yml
  • Keep generated artifacts out of Git

    • Update .gitignore for local Jekyll outputs and bundled gems

Example of the layout/config simplification:

# _config.yml
repository_url: "https://github.com/ME-ICA/open-multi-echo-data"
repository_nwo: "ME-ICA/open-multi-echo-data"
owner_name: "ME-ICA"
owner_url: "https://github.com/ME-ICA"
<!-- _layouts/default.html -->
<p class="view"><a href="{{ site.repository_url }}">View the Project on GitHub <small>{{ site.repository_nwo }}</small></a></p>

Copilot AI and others added 2 commits August 6, 2026 14:03
Co-authored-by: tsalo <8228902+tsalo@users.noreply.github.com>
Co-authored-by: tsalo <8228902+tsalo@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix the failing GitHub Actions job deploy Replace implicit branch-based Pages publishing with an explicit deploy workflow Aug 6, 2026
Copilot AI requested a review from tsalo August 6, 2026 14:08
@tsalo
tsalo marked this pull request as ready for review August 6, 2026 14:09
@tsalo
tsalo merged commit 6d983a2 into main Aug 6, 2026
2 checks passed
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