patronage / bubs-timber

Gulp + Timber + WP
Other
5 stars 1 forks source link

adding export task, refactoring deploy to use env vars #149

Closed ccorda closed 1 year ago

ccorda commented 1 year ago

DB script now has export options (production and staging) to export DB to the local DB folder.

Uses WP CLI, which is noted in the readme.

kylehotchkiss commented 1 year ago

I tested the export and import tasks on a fresh version of the repo, with fresh docker instances. It worked as expected, but I got hung up on one snag: when the ssh host is unknown to the system it runs on, the export script asks me to run ssh client@client.ssh.wpengine.net for a SSH authenticity check in a new terminal window (Warning: Permanently added 'client.ssh.wpengine.net' (RSA) to the list of known hosts.). After running this, the export script works flawlessly. Importing also working as expected.

I don't think the unknown ssh host issue is going to be solvable, it's probably better for us to explore a way to allowlist everything on *.ssh.wpengine.net in ssh configs to quiet the message.

kylehotchkiss commented 1 year ago

I've made the readme adjusts so this is good to merge

ccorda commented 1 year ago

Thanks Kyle.