This is a template repo for ActionServerless.
We give a helloworld
example in Python, and its output is written to the file hello_world according to the route we defined in hello.py
.
If you'd like to follow the example, just use the template and put your code in the app/
directory, that we've configured in workflow, and push the commit.
The events to trigger the action we set are push
and workflow_dispatch
in the workflows configuaration, you can change it to other events. GitHub actions supports several events to trigger workflows, such as push
, pull_request
or schedule
. You can choose one or more of them depending on your application scenarios.