Skip to content

feat(hotfix): add BKG save step to hotfix workflow [Sprint 2.5 D2] #34

@Piboonsak

Description

@Piboonsak

Sprint 2.5 — D2: BKG Save Step — Hotfix Workflow

Branch: feat/sprint-2.5-d2-bkg-hotfix
Base: main
Depends on: D1 ✅ (feat/sprint-2.5-d1-bkg-deploy merged via PR #32)

Task

Add the same BKG save step to the hotfix workflow, reusing scripts/bkg-save.sh from D1.

Files to modify in Piboonsak/openclaw_github:

  1. .github/workflows/deploy-openclaw-github-private-secrets.yml (MODIFY hotfix job)
    • Find the hotfix deploy job/step
    • Add BKG save step AFTER health check PASS
    • Only run if health check succeeded (use if: success())
    • Reuse existing scripts/bkg-save.sh (already in main)

Acceptance Criteria

  • After successful hotfix deploy → BKG snapshot saved to /data/openclaw-config-archive/
  • Reuses scripts/bkg-save.sh from D1 (no duplication)
  • bkg-latest.json symlink updated after successful hotfix
  • BKG save only triggers after health check PASS

Commit Message

feat(hotfix): add BKG save step to hotfix workflow (#202)

Reference

Labels

  • sprint-2.5
  • copilot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions