First Steps: Empty Graph
Empty Graph
Section titled “Empty Graph”An empty graph gives you a blank canvas with only a Start node. The type of start node depends on the platform you selected in the wizard.
If you chose an empty graph targeting GitHub Actions, your graph starts with a GitHub Actions Start node. This node triggers on GitHub events such as push, pull_request, or workflow_dispatch.
Add a Checkout node
Most GitHub Actions workflows start by checking out your repository. Add an actions/checkout node and connect it to the on_push output of the start node.
The actions/checkout node clones your repository into the runner workspace, making your source code available for subsequent steps. From here you can add build, test, or deploy nodes to complete your workflow.
To run this graph on GitHub, you also need a workflow YAML file. See the GitHub Actions Workflow guide for setup instructions.
GitLab CI support is coming soon.
If you chose an empty graph targeting Standalone, your graph starts with a plain Start node. This node is the entry point that runs when you execute the graph locally with actrun.
Add a Run Script node
Add a Run Script node and connect it to the start node. This node executes a shell command when the graph runs.
The Run Script node runs the shell command echo "Hello World!". From here you can add more nodes to build out your automation pipeline.
To run the graph yourself, you need to install the actrun CLI on the machine where the graph should run. See the Installation guide for download and setup instructions.