aws-eks-delete-deployment
Deletes a deployment from AWS EKS cluster, if it exists.
Usage:
name: Example workflow
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
# required antecedent
- uses: actions/checkout@v3
# required antecedent
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.THE_NAME_OF_YOUR_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.THE_NAME_OF_YOUR_AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
# This action
- name: Delete a deployment
uses: lpm0073/aws-eks-delete-deployment
with:
aws-eks-name: your-cluster
aws-eks-region: us-east-2
aws-eks-namespace: your-namespace
aws-eks-deployment: your-app