From cc8789e1dfc68364a6e26253f20d9bb3d99f95df Mon Sep 17 00:00:00 2001 From: Kaushik Narayan R Date: Mon, 2 Feb 2026 18:35:08 -0800 Subject: [PATCH] ghost: fix for failing backup they changed from username-password to token-based auth and they didn't mark it as a breaking change smh my head --- ghost_server-credentials copy.exp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ghost_server-credentials copy.exp b/ghost_server-credentials copy.exp index 4fcf71c..75db144 100644 --- a/ghost_server-credentials copy.exp +++ b/ghost_server-credentials copy.exp @@ -1,14 +1,10 @@ #!/usr/bin/expect -set email "" -set pw "" +set stafftoken "" spawn ghost backup -expect "Ghost administrator email address" -send "$email\r" - -expect "Ghost administrator password" -send "$pw\r" +expect "Ghost Staff access token" +send "$stafftoken\r" expect eof