Created
October 17, 2018 23:52
-
-
Save pritidesai/d5ebed658cae722fa1ce91d900a6b3e2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| packages: | |
| zipactionwithinclude: | |
| actions: | |
| greeting1: | |
| function: actions/greeting1 | |
| runtime: nodejs:6 | |
| include: | |
| - ["actions/common/utils.js", "common/utils.js"] | |
| greeting2: | |
| function: actions/greeting2 | |
| runtime: nodejs:6 | |
| include: | |
| - ["actions/common/utils.js", "common/utils.js"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried the same for ibm cloud but i get following error when I invoke the funciton -
"error": "Initialization has failed due to: Zipped actions must contain either package.json or index.js at the root."I deployed the codes in ibm cloud using following command -
ibmcloud fn deploy --manifest ./manifest.ymlNow I'm stuck, appreciate any response.
Thanks
Musa