edge-connect-deploy-action/action.yaml

28 lines
778 B
YAML

name: 'Edge Connect Deploy'
description: 'Deploys an Edge Connect application using the edge-connect-client'
author: 'DevFW'
inputs:
config-file:
description: 'Path to the Edge Connect configuration file.'
required: true
dry-run:
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
default: 'v0.1.0'
runs:
using: 'composite'
steps:
- name: 'Download and run edge-connect-client'
run: |
${{ github.action_path }}/endpoint.sh
shell: bash
env:
INPUT_CONFIG-FILE: ${{ inputs.config-file }}
INPUT_DRY-RUN: ${{ inputs.dry-run }}
INPUT_VERSION: ${{ inputs.version }}