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