Skip to content

Commit

Permalink
[skip actions] Configure OpenFn
Browse files Browse the repository at this point in the history
  • Loading branch information
christad92 committed Sep 5, 2024
1 parent 44ecffa commit 412a631
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_49c3c9be_dd0e_440a_b271_122f44f064a5_API_KEY }}
config_path_input: 'openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-config.json'
5 changes: 5 additions & 0 deletions openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"endpoint": "https://app.staging.openfn.org",
"specPath": "openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-spec.yaml",
"statePath": "openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-state.json"
}

0 comments on commit 412a631

Please sign in to comment.