Skip to content
prod e051e98
Browse

Server sync capture

Execute from: 2 · Server sync (WF-SYNC playbook step). This runbook is the command card.

Changes happened on the server (admin uploads, installer, manual SSH edit) and must land in git before the next deploy.

flowchart LR
S["Server writes files"] --> C["Capture commit<br/>on production/develop"]
C --> R["👤 Review list<br/>no secrets"]
R --> D["Merge to develop"]
D --> M["Continue MWF1 ship"]
Terminal window
ssh <SSH_ALIAS>
cd <DEPLOY_PATH>
git status # 👤 Review — no .env, vendor/, logs
git add storage/app public/images # example paths only
git commit -m "🔄 ⬛ T5 ServerSync-Upload: Capture <description>"
git push origin develop
# Local
git checkout develop && git pull origin develop

Trigger the repo capture-production GitHub Action (Actions → workflow dispatch) when configured — same review gate applies.

.env · vendor/ · node_modules/ · storage/logs/ · storage/sessions/ · *.key · *.pem

Terminal window
git log --oneline -5
git revert <sync-commit-hash>
git push origin develop