Our servers are DigitalOcean droplets for both dev and prod. We also have both a Marketing site (WordPress) and an app (Laravel) in separate bitbucket repositories. We're not yet to the stage that we want to use Pipelines for our deployment. Our developer wants to keep it simple at this point as we are at the MVP stage.
That being said, I want to at least take steps towards a more generic approach where we are not tied to our contracted developer's DigitalOcean user. I've seen recommendations to set up a dedicated deployment user which does sound like a good idea. Let's call this user deploy.
- Can I use this deploy user on both dev and prod or would it be best to have a deploy_dev user and a deploy_prod user (from a bitbucket perspective?)
- Can/should I use the same user for both repository deployments?