diff --git a/.github/workflows/openfn-3f789c20-4af7-47aa-81cd-511b22105623-deploy.yml b/.github/workflows/openfn-3f789c20-4af7-47aa-81cd-511b22105623-deploy.yml new file mode 100644 index 0000000..a6690ae --- /dev/null +++ b/.github/workflows/openfn-3f789c20-4af7-47aa-81cd-511b22105623-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_3f789c20_4af7_47aa_81cd_511b22105623_API_KEY }} + config_path_input: 'openfn-3f789c20-4af7-47aa-81cd-511b22105623-config.json' diff --git a/openfn-3f789c20-4af7-47aa-81cd-511b22105623-config.json b/openfn-3f789c20-4af7-47aa-81cd-511b22105623-config.json new file mode 100644 index 0000000..de7bd1d --- /dev/null +++ b/openfn-3f789c20-4af7-47aa-81cd-511b22105623-config.json @@ -0,0 +1,5 @@ +{ + "endpoint": "https://app.openfn.org", + "specPath": "openfn-3f789c20-4af7-47aa-81cd-511b22105623-spec.yaml", + "statePath": "openfn-3f789c20-4af7-47aa-81cd-511b22105623-state.json" +} \ No newline at end of file