Skip to content

lionelvillard/openwhisk-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github OpenWhisk actions generated by Swagger OpenWhisk CodeGen

Generate actions

Type these commands in a terminal:

$ npm install
$ node main.js

The 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.js

Deployment using wskdeploy (Experimental)

To deploy all actions, it is best to run wskdeploy in the project root directory.

$ wskdeploy --allow-defaults=true

Authentication

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

About

OpenWhisk GitHub Rest API v3 action wrappers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published