Skip to content

Commit afa006d

Browse files
Merge pull request #1 from OpenFn/allow-multiple-projects-per-repo
Allow deploy of multiple projects in a single repo
2 parents fe1b6d8 + 4713ec4 commit afa006d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

action.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,25 @@ inputs:
77
secret_input:
88
description: "OpenFN API KEY"
99
required: true
10+
config_path_input:
11+
description: "OpenFN Path to Config"
12+
required: true
1013
runs:
1114
using: "composite"
1215
steps:
1316
- name: Checkout Project export
14-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1518
- name: Set up Node
1619
uses: actions/setup-node@v3
1720
with:
1821
node-version: 18.x
1922
- run: |
2023
npm install -g @openfn/cli
21-
openfn deploy -c config.json --no-confirm
24+
openfn deploy -c $OPENFN_CONFIG_PATH --no-confirm
2225
shell: bash
2326
env:
2427
OPENFN_API_KEY: ${{ inputs.secret_input }}
28+
OPENFN_CONFIG_PATH: ${{ inputs.config_path_input }}
2529
- name: Commit updated state file
2630
uses: stefanzweifel/git-auto-commit-action@v4
2731
with:

0 commit comments

Comments
 (0)