Skip to content

Commit 575f604

Browse files
authored
feat: add the new GitHub action for pushing into the SDK init command (HEXA-1269) (#266)
1 parent d9e7421 commit 575f604

1 file changed

Lines changed: 4 additions & 15 deletions

File tree

openhexa/cli/skeleton/.github/workflows/push-pipeline.yml.j2

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,9 @@ jobs:
2222
runs-on: ubuntu-latest
2323

2424
steps:
25-
- name: Checkout
26-
uses: actions/checkout@v2
27-
28-
- uses: actions/setup-python@v2
29-
with:
30-
python-version: '3.11'
31-
32-
- name: Configure OpenHEXA CLI
33-
uses: blsq/openhexa-cli-action@v1
25+
- name: Push pipeline to OpenHEXA
26+
uses: blsq/openhexa-push-pipeline-action@v1.0.0
3427
with:
35-
workspace: "[[ workspace_slug ]]"
3628
token: ${{ secrets.OH_TOKEN }}
37-
- name: Push pipeline to OpenHEXA
38-
run: |
39-
openhexa pipelines push . --yes
40-
41-
29+
workspace: "[[ workspace_slug ]]"
30+
pipeline: "[[ pipeline_code ]]"

0 commit comments

Comments
 (0)