Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Artisan Commands #14

Open
artistro08 opened this issue Aug 21, 2021 · 2 comments
Open

Feature Request: Artisan Commands #14

artistro08 opened this issue Aug 21, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@artistro08
Copy link

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.

@daftspunk
Copy link
Member

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.

@daftspunk daftspunk added the enhancement New feature or request label Sep 8, 2021
@artistro08
Copy link
Author

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 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants