Switch to Github Deploy key with write access
Originally posted at https://github.com/leonstafford/wp2static/issues/184
I recommend you switch to deploy keys with write access ... as these can be established for a single repo. Personal access keys provide access to every repository ... It's not safe to be installing github personal keys in WP sites.
Deploy keys with write access can be configured for a single repository (public or private)
- 1 replies
- Leon Stafford @leonstafford2018-12-17 06:16:31.481Z
For the meantime, this can be achieved by using the WP-CLI integration and your own keys and a simple shell script to do the commit + push. It will likely be a lot faster than using the API and current blob & tree creation the plugin is using to deploy to GitHub