ci: add GitHub Pages PPA and rename release workflow#128
Merged
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds two new jobs to the release workflow: - build_binary_package: builds a binary .deb for the GH Pages PPA - publish_github_pages_ppa: uses reprepro to build an APT repo and deploys it via actions/deploy-pages Requires DEBIAN_REPO_SIGNING_KEY secret and DEBIAN_REPO_SIGNING_KEY_ID variable to be configured (shared from kolibri-installer-debian). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Update all actions across workflows to current major versions: - checkout v4 → v6 - upload-artifact v4 → v7 - download-artifact v4 → v8 - setup-python v5 → v6 - upload-pages-artifact v3 → v4 - deploy-pages v4 → v5 - skip-duplicate-actions master → v5 Add dependabot configuration for weekly GitHub Actions updates. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
8461ef1 to
ab1294d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rename the release workflow from
build_debian.ymltorelease.ymland add GitHub Pages PPA publishing alongside the existing Launchpad PPA. This lets Debian users install kolibri-server without relying on Launchpad's SHA-1 signed keys.Two new jobs:
build_binary_packagebuilds a.debin parallel with the Launchpad source upload, andpublish_github_pages_ppausesreprepro+actions/deploy-pagesto publish an APT repository after the release approval gate.References
Related to the same fix applied in kolibri-installer-debian. That repo uses a gh-pages branch approach because the publish workflow is reusable across repos. Since this workflow only ever runs in this repository, we can use
actions/deploy-pagesdirectly, avoiding storing PPA state in git.Reviewer guidance
workflow_dispatchafter configuring the required secrets/variable:DEBIAN_REPO_SIGNING_KEY(shared from kolibri-installer-debian)DEBIAN_REPO_SIGNING_KEY_ID(shared from kolibri-installer-debian)publish_github_pages_ppaat.github/workflows/release.yml:231is the main new job to reviewAI usage
This PR was authored collaboratively with Claude Code. The design was brainstormed iteratively, then implemented following a written plan. The workflow structure was modeled on kolibri-installer-debian's
publish_debian_repo.yml, adapted to useactions/deploy-pages. All changes were validated with the repo's pre-commit hooks (yamlfmt, actionlint).