From b8fcb6e31597d2b245098706f83aad4ea02ae18b Mon Sep 17 00:00:00 2001 From: VasilyZa <450270247@qq.com> Date: Fri, 4 Dec 2026 06:42:49 +0800 Subject: [PATCH] fix(ci): pass the Pages signing secret to the publisher --- .github/CI.md | 6 ++++-- .github/workflows/ci.yml | 2 ++ .github/workflows/publish-pages.yml | 3 +++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/CI.md b/.github/CI.md index 117b01eb..0829dd6a 100644 --- a/.github/CI.md +++ b/.github/CI.md @@ -45,8 +45,10 @@ Configure the `github-pages` environment for `main` deployments. Set the `RPR_SIGNING_FINGERPRINT` Actions variable to the primary fingerprint from `packages/arch/reliefos-keyring/production-fingerprint`. Set the `RPR_SIGNING_KEY_B64` Actions secret to a base64-encoded OpenPGP secret-subkey -export that can sign in batch mode. Retain the primary secret key and its -revocation certificate in project-controlled backup storage. +export that can sign in batch mode. The caller passes this secret by name so +the reusable publish job can resolve it from its `github-pages` environment. +Retain the primary secret key and its revocation certificate in +project-controlled backup storage. The default repository is `https://reliefosproject.github.io/ReliefOS/rpr`. The build uses the selected snapshot key to verify local packages. ISO and disk diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06ace8d5..782c0312 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -308,3 +308,5 @@ jobs: pages: write id-token: write uses: ./.github/workflows/publish-pages.yml + secrets: + RPR_SIGNING_KEY_B64: ${{ secrets.RPR_SIGNING_KEY_B64 }} diff --git a/.github/workflows/publish-pages.yml b/.github/workflows/publish-pages.yml index 328a4558..38a82301 100644 --- a/.github/workflows/publish-pages.yml +++ b/.github/workflows/publish-pages.yml @@ -2,6 +2,9 @@ name: Publish ReliefOS Pages on: workflow_call: + secrets: + RPR_SIGNING_KEY_B64: + required: true concurrency: group: reliefos-production-pages