Skip to content

Use 'package' hook instead of 'deploy' #20

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

Merged
merged 1 commit into from
Jun 16, 2017

Conversation

adieuadieu
Copy link
Contributor

The deploy hook simply leverages the package hook. By using the package hook instead of deploy, you get both for the price of one!

This let's a user use both the $ sls deploy and $ sls package CLI commands.

The 'deploy' hook simply leverages the 'package' hook. By using the 'package' hook instead of 'deploy' you get both for the price of one!

This lets a user use both the $ sls deploy and $ sls package CLI commands.

Source: https://github.com/serverless/serverless/blob/master/lib/plugins/deploy/deploy.js#L95
@schickling schickling merged commit 3f7b3ee into serverless:master Jun 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants