From 744cb3456028dbd47e27a5313127dc8650dcfd98 Mon Sep 17 00:00:00 2001 From: Zach Wolfenbarger Date: Thu, 15 Jun 2023 12:26:16 -0500 Subject: [PATCH] Fix name of task in template apply --- .github/workflows/run_task.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_task.yaml b/.github/workflows/run_task.yaml index 31f3706..d3f30db 100644 --- a/.github/workflows/run_task.yaml +++ b/.github/workflows/run_task.yaml @@ -13,7 +13,7 @@ on: required: true type: string task_name: - description: 'environment to affect' + description: 'name of task to run' required: true type: string secrets: @@ -44,7 +44,7 @@ jobs: run: | sed "s/__IMAGE_TAG__/$DEPLOYED_IMAGE_TAG/g" ./kubernetes/job-task-${{ inputs.environment }}.tmpl \ | sed "s/__JOB_NAME__/$JOB_NAME/g" \ - | sed "s/__TASK_NAME__/${{ inputs.task_name }}/g" \ + | sed "s/__RAKE_TASK_NAME__/${{ inputs.task_name }}/g" \ | kubectl apply -f - - name: Wait for completion or failure