fix: action_path
This commit is contained in:
+2
-7
@@ -4,7 +4,7 @@ description: Use Updatecli to update deployments for ArgoCD
|
||||
inputs:
|
||||
updatecli-config:
|
||||
description: Override default updatecli config
|
||||
default: ""
|
||||
required: false
|
||||
registry-url:
|
||||
description: Registry URL
|
||||
default: git.cleverthis.com
|
||||
@@ -59,11 +59,6 @@ runs:
|
||||
echo "Unknown target branch. We are not coming from main, master, nor develop branch."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
configFilePath="${{ inputs.updatecli-config }}"
|
||||
if [ -z "$configFilePath" ]; then
|
||||
configFilePath="${{ forge.action_path }}/updatecli.yaml"
|
||||
fi
|
||||
|
||||
export TARGET_BRANCH
|
||||
updatecli apply --config "$configFilePath"
|
||||
updatecli apply --config ${{ inputs.updatecli-config || format('{0}/updatecli.yaml', forge.action_path) }}
|
||||
|
||||
Reference in New Issue
Block a user