1

Let´s suppose that our repository contents is something that will be shared. Is strange that we include the deploy scripts there, explaining how to deploy in our machines

1

If by "Shared" you mean that your team has access to the files then it should be stored in Source Control so that everyone on the team is using the same scripts. You can consider a secrets manager so that team members do not share sensitive information (e.g., Docker Secrets, AWS Secrets Manager, Azure Key Vault).

If this will be publicly available you can still use a secrets manager to publish these files with the sensitive data removed.

1
  • It will be shared with different clients – irbian Feb 24 '20 at 22:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.