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:
@@ -1,14 +1,10 @@
|
||||
#!/usr/bin/expect
|
||||
|
||||
set email "<email_address>"
|
||||
set pw "<password>"
|
||||
set stafftoken "<staff_token>"
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user