From b4d8e829c631a8b0e8e3382ed69dec6cde546621 Mon Sep 17 00:00:00 2001 From: Stephen Kawaguchi Date: Fri, 25 Jul 2025 17:22:07 -0400 Subject: [PATCH] give the option of not cleaning workspace before eks deploy --- deploy/eks/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deploy/eks/action.yml b/deploy/eks/action.yml index 3635a5b..4aa39c7 100644 --- a/deploy/eks/action.yml +++ b/deploy/eks/action.yml @@ -29,6 +29,10 @@ inputs: ATOMIC: description: EKS Atomic Deployment Flag (true or false) - default is true required: false + CLEAN_WORKSPACE: + description: Whether to clean the workspace before deploying (true or false) + required: false + default: "true" runs: using: "composite" @@ -56,6 +60,7 @@ runs: aws-region: ${{ inputs.AWS_REGION }} - uses: actions/checkout@v4 - name: Cleaning workspace + if: ${{ inputs.CLEAN_WORKSPACE == 'true' }} shell: bash run: shopt -s dotglob && rm -rf "${{ github.workspace }}"/* - name: Restoring workspace from cache