fix: git stash before deploy, no pop (discard board changes)
Validate and Test / validate-patches (push) Failing after 12s
Validate and Test / validate-patches (push) Failing after 12s
- just deploy: stash local board changes before git pull - install.sh: configure git alias 'pull-clean' for manual use - Board-side changes from test edits are discarded on deploy
This commit is contained in:
@@ -29,5 +29,7 @@ done
|
||||
|
||||
# Install git hooks: point to repo's .githooks so post-merge auto-restarts services
|
||||
git config core.hooksPath "$REPO/.githooks"
|
||||
# Add pull-clean alias: stash local changes, pull fresh, discard stashed
|
||||
git config alias.pull-clean '!git stash && git pull'
|
||||
|
||||
echo "[OK] Services installed and enabled"
|
||||
|
||||
Reference in New Issue
Block a user