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
This commit is contained in:
2026-02-02 18:35:08 -08:00
parent dfcf4a8270
commit cc8789e1df

View File

@@ -1,14 +1,10 @@
#!/usr/bin/expect #!/usr/bin/expect
set email "<email_address>" set stafftoken "<staff_token>"
set pw "<password>"
spawn ghost backup spawn ghost backup
expect "Ghost administrator email address" expect "Ghost Staff access token"
send "$email\r" send "$stafftoken\r"
expect "Ghost administrator password"
send "$pw\r"
expect eof expect eof