This repository contains various actions that SuperTokens uses in its own repositories
All actions get built into individual .js
files in the dist
directory. Corresponding yml
files can be used directly in your actions.
For example to use the docs-versioning action use the following snippet:
- uses: supertokens/supertokens-github-actions/docs/versioning@master
Make sure to check the action.yml
file to see if the action expects any input
- Create your own action by adding an
action.yml
file and anindex.js
file using existing actions as a reference - Modify
buildAllActions
to build your action - Run
./buildAllActions
- Raise a pull request to
supertokens-github-actions