From e2432467bae1af6b4843119fb6ed54c22f1d05c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rita=20Z=C3=A1goni?= Date: Thu, 2 May 2024 18:02:58 +0300 Subject: [PATCH] [skip actions] Configure OpenFn --- ...1fe8d-913a-402e-ad04-f8f36befaaf5-deploy.yml | 17 +++++++++++++++++ ...fe8d-913a-402e-ad04-f8f36befaaf5-config.json | 5 +++++ 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/openfn-4b31fe8d-913a-402e-ad04-f8f36befaaf5-deploy.yml create mode 100644 openfn-4b31fe8d-913a-402e-ad04-f8f36befaaf5-config.json diff --git a/.github/workflows/openfn-4b31fe8d-913a-402e-ad04-f8f36befaaf5-deploy.yml b/.github/workflows/openfn-4b31fe8d-913a-402e-ad04-f8f36befaaf5-deploy.yml new file mode 100644 index 0000000..2c5d61a --- /dev/null +++ b/.github/workflows/openfn-4b31fe8d-913a-402e-ad04-f8f36befaaf5-deploy.yml @@ -0,0 +1,17 @@ +on: + push: + branches: + - master + +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_4b31fe8d_913a_402e_ad04_f8f36befaaf5_API_KEY }} + config_path_input: 'openfn-4b31fe8d-913a-402e-ad04-f8f36befaaf5-config.json' diff --git a/openfn-4b31fe8d-913a-402e-ad04-f8f36befaaf5-config.json b/openfn-4b31fe8d-913a-402e-ad04-f8f36befaaf5-config.json new file mode 100644 index 0000000..bb9946d --- /dev/null +++ b/openfn-4b31fe8d-913a-402e-ad04-f8f36befaaf5-config.json @@ -0,0 +1,5 @@ +{ + "endpoint": "https://app.openfn.org", + "specPath": "openfn-4b31fe8d-913a-402e-ad04-f8f36befaaf5-spec.yaml", + "statePath": "openfn-4b31fe8d-913a-402e-ad04-f8f36befaaf5-state.json" +} \ No newline at end of file