Delete pipelines/prod/growingbegger-fe directory #132
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |