Skip to content

record :: growingbegger-fe-prod kubernetes manifest #109

record :: growingbegger-fe-prod kubernetes manifest

record :: growingbegger-fe-prod kubernetes manifest #109

name: Delete Kubernetes Resources
on:
push:
paths:
- 'pipelines/**/**'
jobs:
delete-resources:
runs-on: ubuntu-latest
steps:
- name: Check Out The Repository
uses: actions/checkout@v2
with:
ref: main
fetch-depth: 2
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-northeast-2
- name: Update kubeconfig
run: |
aws eks update-kubeconfig --name xquare-v3-cluster
- name: Grant execute permission for script
run: |
chmod +x ./script/delete_kubernetes_resources.sh
- name: Delete Kubernetes resources
run: ./script/delete_kubernetes_resources.sh