2025-10-02 14:07:01 +02:00
|
|
|
name: 'Edge Connect Deploy'
|
|
|
|
|
description: 'Deploys an Edge Connect application using the edge-connect-client'
|
|
|
|
|
author: 'DevFW'
|
|
|
|
|
|
|
|
|
|
inputs:
|
2025-10-02 14:21:07 +02:00
|
|
|
configFile:
|
2025-10-02 14:07:01 +02:00
|
|
|
description: 'Path to the Edge Connect configuration file.'
|
|
|
|
|
required: true
|
2025-10-02 14:21:07 +02:00
|
|
|
dryRun:
|
2025-10-02 14:07:01 +02:00
|
|
|
description: 'Perform a dry run of the deployment.'
|
|
|
|
|
required: false
|
|
|
|
|
default: 'false'
|
|
|
|
|
version:
|
|
|
|
|
description: 'The version of the edge-connect-client to use.'
|
|
|
|
|
required: false
|
2025-10-02 14:55:35 +02:00
|
|
|
default: 'v0.1.1'
|
2025-10-02 14:07:01 +02:00
|
|
|
|
2025-10-02 14:29:49 +02:00
|
|
|
baseUrl:
|
|
|
|
|
description: 'The base URL of the Edge Connect API.'
|
|
|
|
|
required: true
|
|
|
|
|
username:
|
|
|
|
|
description: 'The username for the Edge Connect API.'
|
|
|
|
|
required: true
|
|
|
|
|
password:
|
|
|
|
|
description: 'The password for the Edge Connect API.'
|
|
|
|
|
required: true
|
|
|
|
|
|
2025-10-02 14:07:01 +02:00
|
|
|
runs:
|
|
|
|
|
using: 'composite'
|
|
|
|
|
steps:
|
|
|
|
|
- name: 'Download and run edge-connect-client'
|
|
|
|
|
run: |
|
|
|
|
|
${{ github.action_path }}/endpoint.sh
|
|
|
|
|
shell: bash
|
|
|
|
|
env:
|
2025-10-02 14:21:07 +02:00
|
|
|
INPUT_CONFIG_FILE: ${{ inputs.configFile }}
|
|
|
|
|
INPUT_DRY_RUN: ${{ inputs.dryRun }}
|
2025-10-02 14:07:01 +02:00
|
|
|
INPUT_VERSION: ${{ inputs.version }}
|
2025-10-02 14:29:49 +02:00
|
|
|
EDGE_CONNECT_BASE_URL: ${{ inputs.baseUrl }}
|
|
|
|
|
EDGE_CONNECT_USERNAME: ${{ inputs.username }}
|
|
|
|
|
EDGE_CONNECT_PASSWORD: ${{ inputs.password }}
|