Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update action.yaml #7

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -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.
This project is licensed under the MIT License.
8 changes: 7 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down