Commit 6c7362b
committed
Use 'package' hook instead of 'deploy'
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#L951 parent f0d6626 commit 6c7362b
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments