diff --git a/.github/workflows/openfn-a5573c8f-bfbd-447e-8e1d-5bab1d2901e7-deploy.yml b/.github/workflows/openfn-a5573c8f-bfbd-447e-8e1d-5bab1d2901e7-deploy.yml new file mode 100644 index 0000000..8db8b33 --- /dev/null +++ b/.github/workflows/openfn-a5573c8f-bfbd-447e-8e1d-5bab1d2901e7-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_a5573c8f_bfbd_447e_8e1d_5bab1d2901e7_API_KEY }} + config_path_input: 'openfn-a5573c8f-bfbd-447e-8e1d-5bab1d2901e7-config.json' diff --git a/openfn-a5573c8f-bfbd-447e-8e1d-5bab1d2901e7-config.json b/openfn-a5573c8f-bfbd-447e-8e1d-5bab1d2901e7-config.json new file mode 100644 index 0000000..3e15003 --- /dev/null +++ b/openfn-a5573c8f-bfbd-447e-8e1d-5bab1d2901e7-config.json @@ -0,0 +1,5 @@ +{ + "endpoint": "https://app.openfn.org", + "specPath": "openfn-a5573c8f-bfbd-447e-8e1d-5bab1d2901e7-spec.yaml", + "statePath": "openfn-a5573c8f-bfbd-447e-8e1d-5bab1d2901e7-state.json" +} \ No newline at end of file