Skip to content

gitfx/ActionServerless-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Template for ActionServerless Action

ActionServerless-template run functions

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.