1.0.1 • Published 9 years ago
openwhisk-github v1.0.1
Github OpenWhisk actions generated by Swagger OpenWhisk CodeGen
Generate actions
Type these commands in a terminal:
$ npm install
$ node main.jsThe actions directory should now be populated with github action wrappers.
Manual deployment
To deploy an action, go the the actions directory and type this command:
$ wsk action create </namespaceName[/packageName]/entityName> <action.js>For instance:
$ wsk action create getIssues getIssues.jsDeployment using wskdeploy (Experimental)
To deploy all actions, it is best to run wskdeploy in the project root directory.
$ wskdeploy --allow-defaults=trueAuthentication
Several github APIs require authentication.
For OAuth2 authentication, the recommended way is to use the OpenWhisk OAuth package to obtain a OAuth token. Alternatively for testing purpose, use a Personal access token.
API Documentation
Available on the IBM API Harmony
1.0.1
9 years ago