openfn deploy
ActionsTags
(2)#OpenFN Github Deploy Action
This action deploys to a specific Lightning instance whenever it is invoked.
It depends on an repository containing the following
- A
state.jsonfile which details ids and jobs in a project - A
project.yamlfile detailing a project its workflows, edges and triggers - A
config.jsonfile detailing a connection to a Lightning instance
Additionally one needs to pass in their OPENFN API KEY to the action as an input best way to do this would be through
an input. The required key is secret_input
See an example project structure here
An example of how to use this action in workflow
on:
push:
branches:
- main
jobs:
deploy-to-lightning:
runs-on: ubuntu-latest
name: Deploy this project to OpenFn/Lightning
steps:
- name: Deploy to Lightning
uses: openfn/deploy-action@v0.1.9
with:
secret_input: ${{ secrets.OPENFN_API_KEY }}
openfn deploy is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.