diff --git a/README.md b/README.md index 18cdd51..408e8fe 100644 --- a/README.md +++ b/README.md @@ -189,6 +189,7 @@ jobs: | `LOCAL_EXEC_ENABLED` | Whether to allow execution of the `local-exec` command within Terraform. | No | `false` | No | | `VERBOSE` | Whether to show extra logs during execution. | No | `false` | No | | `OPEN_API_PATH` | The path to the OpenAPI/Swagger file within the repository. | No | N/A | No | +| `EXCLUDE_FILES_PATH` | Enter Path that should be deleted with 'rm -rf {{ inputs.PATH_TO_MOUNT }}/{{ inputs.EXCLUDE_FILES_PATH }}' | No | N/A | No | ## Outputs | Name | Description | @@ -291,4 +292,4 @@ In case of a Deployment error, please look at [Stackspot EDP Portal](https:#app. ## License -This project is licensed under the MIT License. \ No newline at end of file +This project is licensed under the MIT License. diff --git a/action.yaml b/action.yaml index b67912f..743b091 100644 --- a/action.yaml +++ b/action.yaml @@ -153,6 +153,11 @@ inputs: type: string default: default + EXCLUDE_FILES_PATH: + description: "Enter Path that should be deleted with 'rm -rf {{ inputs.PATH_TO_MOUNT }}/{{ inputs.EXCLUDE_FILES_PATH }}'" + required: false + default: '' + outputs: APPLY_TASKS: description: "Post Plan Tasks." @@ -257,7 +262,7 @@ runs: - name: Build IaC and Plan Changes id: build_iac_and_plan - uses: stack-spot/runtime-tasks-action@v2 + uses: stack-spot/runtime-tasks-action@v2.1 if: steps.orchestrations.outputs.run_id != '' && steps.prepare_tasks.outputs.prepare_tasks != '' with: RUN_ID: ${{ steps.orchestrations.outputs.run_id }} @@ -267,6 +272,7 @@ runs: AWS_REGION: ${{ inputs.AWS_REGION }} REPOSITORY_NAME: ${{ inputs.REPOSITORY_NAME }} PATH_TO_MOUNT: ${{ inputs.PATH_TO_MOUNT }} + EXCLUDE_FILES_PATH: ${{ inputs.EXCLUDE_FILES_PATH }} CHECKOUT_BRANCH: ${{ inputs.CHECKOUT_BRANCH }} BASE_PATH_OUTPUT: ${{ inputs.BASE_PATH_OUTPUT }} LOCALEXEC_ENABLED: ${{ inputs.LOCAL_EXEC_ENABLED }}