Skip to content

Commit

Permalink
Settle for a less generic API
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Nov 25, 2024
1 parent 1461d04 commit 118fac3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 10 additions & 5 deletions .github/actions/netkan/action.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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:
Expand All @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/bounce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 118fac3

Please sign in to comment.