Skip to content

Commit

Permalink
[skip actions] Configure OpenFn
Browse files Browse the repository at this point in the history
  • Loading branch information
daissatou2 committed Nov 7, 2024
1 parent fd03840 commit 6bfa1ad
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
secret_input: ${{ secrets.OPENFN_3f789c20_4af7_47aa_81cd_511b22105623_API_KEY }}
config_path_input: 'openfn-3f789c20-4af7-47aa-81cd-511b22105623-config.json'
5 changes: 5 additions & 0 deletions openfn-3f789c20-4af7-47aa-81cd-511b22105623-config.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 6bfa1ad

Please sign in to comment.