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