From 412a631f816643c2ef1d090f45f3c6e51bfe2123 Mon Sep 17 00:00:00 2001 From: Ayodele Adeyemo Date: Thu, 5 Sep 2024 17:10:02 +0100 Subject: [PATCH] [skip actions] Configure OpenFn --- ...9be-dd0e-440a-b271-122f44f064a5-deploy.yml | 21 +++++++++++++++++++ ...be-dd0e-440a-b271-122f44f064a5-config.json | 5 +++++ 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-deploy.yml create mode 100644 openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-config.json diff --git a/.github/workflows/openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-deploy.yml b/.github/workflows/openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-deploy.yml new file mode 100644 index 0000000..364a09c --- /dev/null +++ b/.github/workflows/openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-deploy.yml @@ -0,0 +1,21 @@ +on: + push: + branches: + - main + +concurrency: + group: openfn-deployment + cancel-in-progress: false + +jobs: + deploy-to-lightning: + runs-on: ubuntu-latest + name: A job to deploy to Lightning + permissions: + contents: write + steps: + - name: openfn deploy + uses: openfn/cli-deploy-action@v1.0.0 + with: + secret_input: ${{ secrets.OPENFN_49c3c9be_dd0e_440a_b271_122f44f064a5_API_KEY }} + config_path_input: 'openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-config.json' diff --git a/openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-config.json b/openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-config.json new file mode 100644 index 0000000..fe82a3f --- /dev/null +++ b/openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-config.json @@ -0,0 +1,5 @@ +{ + "endpoint": "https://app.staging.openfn.org", + "specPath": "openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-spec.yaml", + "statePath": "openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-state.json" +} \ No newline at end of file