JustSteveKing / laravel-envoyer-sdk

A simple to use PHP class to work with the Laravel Envoyer API
MIT License
36 stars 15 forks source link

Supporting Project -> Update Project Source #1

Closed JohnRoux closed 3 years ago

JohnRoux commented 3 years ago

Is your feature request related to a problem? Please describe. Currently there's no way to update a project's source (https://envoyer.io/api-documentation#update-project-source) This is currently the only way to programmatically control the "push to deploy" flag in envoyer.

Describe the solution you'd like A updateSource method should be added to the Project class

JohnRoux commented 3 years ago

I realised this is actually a really nice and easy change since to the design. Busy testing and will make a PR if it's all looking good :+1:

JustSteveKing commented 3 years ago

Perfect thank you! I haven't checked the API for changes recently, so if it has changes a PR would be very welcome!