Skip to content

Commit

Permalink
[skip actions] Configure OpenFn
Browse files Browse the repository at this point in the history
  • Loading branch information
ritazagoni committed May 2, 2024
1 parent f3d0286 commit e243246
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
secret_input: ${{ secrets.OPENFN_4b31fe8d_913a_402e_ad04_f8f36befaaf5_API_KEY }}
config_path_input: 'openfn-4b31fe8d-913a-402e-ad04-f8f36befaaf5-config.json'
5 changes: 5 additions & 0 deletions openfn-4b31fe8d-913a-402e-ad04-f8f36befaaf5-config.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit e243246

Please sign in to comment.