From 118fac3996271942b2523c7c348344665d86103c Mon Sep 17 00:00:00 2001 From: Paul Hebble Date: Sun, 24 Nov 2024 23:29:28 -0600 Subject: [PATCH] Settle for a less generic API --- .github/actions/netkan/action.yml | 15 ++++++++++----- .github/workflows/bounce.yml | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/actions/netkan/action.yml b/.github/actions/netkan/action.yml index c33f06cc5..ae9a4f672 100644 --- a/.github/actions/netkan/action.yml +++ b/.github/actions/netkan/action.yml @@ -1,5 +1,5 @@ -name: NetKAN -description: Run commands in the NetKAN container +name: Redeploy NetKAN Service +description: Run commands in the NetKAN container to redeploy a given service inputs: AWS_ACCESS_KEY_ID: @@ -11,8 +11,8 @@ inputs: AWS_DEFAULT_REGION: description: Region for AWS required: true - args: - description: The command to run + service-name: + description: The service to redeploy required: true runs: @@ -22,4 +22,9 @@ runs: AWS_ACCESS_KEY_ID: ${{ inputs.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ inputs.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: ${{ inputs.AWS_DEFAULT_REGION }} - args: ${{ inputs.args }} + args: + - redeploy-service + - --cluster + - NetKANCluster + - --service-name + - ${{ inputs.service-name }} diff --git a/.github/workflows/bounce.yml b/.github/workflows/bounce.yml index 526032075..577c1bb79 100644 --- a/.github/workflows/bounce.yml +++ b/.github/workflows/bounce.yml @@ -19,4 +19,4 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: us-west-2 - args: redeploy-service --cluster NetKANCluster --service-name Inflator${{ matrix.game }} + service-name: Inflator${{ matrix.game }}