fix(scripts): rebase before push in sync-gdrive-mirror.sh
This commit is contained in:
parent
868693b4fe
commit
0200b4b4ca
|
|
@ -14,6 +14,10 @@ SHA=$(git rev-parse --short HEAD)
|
||||||
|
|
||||||
echo "[sync-gdrive-mirror] Tidsstempel: $TIMESTAMP · HEAD: $SHA"
|
echo "[sync-gdrive-mirror] Tidsstempel: $TIMESTAMP · HEAD: $SHA"
|
||||||
|
|
||||||
|
# ── Hent remote-endringer FØR vi skriver noe ──────────────────────────────
|
||||||
|
echo "[sync-gdrive-mirror] Henter remote-endringer (rebase)..."
|
||||||
|
git pull --rebase origin main
|
||||||
|
|
||||||
# ── Bygg header + staleness-varsel ─────────────────────────────────────────
|
# ── Bygg header + staleness-varsel ─────────────────────────────────────────
|
||||||
cat > "$OUTPUT" << HEADER
|
cat > "$OUTPUT" << HEADER
|
||||||
# VAUCO OS — GDRIVE MIRROR BOOT
|
# VAUCO OS — GDRIVE MIRROR BOOT
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user