1

Should the Deployer recipe (config) file deploy.php be added to .gitignore?

I could not find any information on this. What is best practice?

gummiost
  • 654
  • 7
  • 15

1 Answers1

1

If you want others to be able to perform deployment, you should share this file with your team.

I do not see any danger if you avoid use strings with passwords or tokens (like gitlab access token). That's why you should use ssh key instead.

  • I think this better serve as a comment instead of an answer. Or maybe you can enrich the answer to make it better. – Til Jan 19 '19 at 16:11
  • You could even make ssh keys and share those. You can define that too in the recipe. Maybe that goes too far. But it is posible. – Matt Dec 21 '19 at 13:07