From a8802ac3db644e800dd0ae863579f1516878b6e5 Mon Sep 17 00:00:00 2001 From: Aleksa Krolls Date: Thu, 13 Jun 2024 13:14:55 +0200 Subject: [PATCH] [skip actions] Configure OpenFn --- ...48e-451b-4a92-9aad-e7c62a7f0923-deploy.yml | 21 +++++++++++++++++++ ...8e-451b-4a92-9aad-e7c62a7f0923-config.json | 5 +++++ 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/openfn-d52bd48e-451b-4a92-9aad-e7c62a7f0923-deploy.yml create mode 100644 openfn-d52bd48e-451b-4a92-9aad-e7c62a7f0923-config.json diff --git a/.github/workflows/openfn-d52bd48e-451b-4a92-9aad-e7c62a7f0923-deploy.yml b/.github/workflows/openfn-d52bd48e-451b-4a92-9aad-e7c62a7f0923-deploy.yml new file mode 100644 index 0000000..808242b --- /dev/null +++ b/.github/workflows/openfn-d52bd48e-451b-4a92-9aad-e7c62a7f0923-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_d52bd48e_451b_4a92_9aad_e7c62a7f0923_API_KEY }} + config_path_input: 'openfn-d52bd48e-451b-4a92-9aad-e7c62a7f0923-config.json' diff --git a/openfn-d52bd48e-451b-4a92-9aad-e7c62a7f0923-config.json b/openfn-d52bd48e-451b-4a92-9aad-e7c62a7f0923-config.json new file mode 100644 index 0000000..30a07cb --- /dev/null +++ b/openfn-d52bd48e-451b-4a92-9aad-e7c62a7f0923-config.json @@ -0,0 +1,5 @@ +{ + "endpoint": "https://app.openfn.org", + "specPath": "openfn-d52bd48e-451b-4a92-9aad-e7c62a7f0923-spec.yaml", + "statePath": "openfn-d52bd48e-451b-4a92-9aad-e7c62a7f0923-state.json" +} \ No newline at end of file