Giter Club home page Giter Club logo

cli-deploy-action's Introduction

#OpenFN Github Deploy Action

This action deploys to a specific Lightning instance whenever it is invoked.

It depends on an repository containing the following

  1. A state.json file which details ids and jobs in a project
  2. A project.yaml file detailing a project its workflows, edges and triggers
  3. A config.json file 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/[email protected] 
        with: 
          secret_input: ${{ secrets.OPENFN_API_KEY }}

cli-deploy-action's People

Contributors

zacck avatar taylordowns2000 avatar midigofrank avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.