Open artistro08 opened 3 years ago
Hey @artistro08
This comes to mind
php artisan deploy:list - List servers with numeric IDs
php artisan deploy:server <id> - Perform a deployment of the server
Is this what you mean? I'm not quite sure what the use case is for git hooks.
That's exactly what I was thinking for the artisan commands.
As far as the git hooks, I think this would work the opposite way and wouldn't need to integrate with your plugin. The command just needs to be there.
Example would be:
git flow release finish
# git hooks would run the artisan command here. kinda like how you have the update command run migrations and set the build number via composer
php artisan deploy:server <id>
# Profit
I would like the ability to add artisan commands to the mix. These would make it so we can deploy via cli (and also deploy via git hooks, github, gitlab, etc).
Would be nice to see.