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
|
#!/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
|
||||||
|
|||||||
Reference in New Issue
Block a user