Skip to content

Add upfront validations in deploy action #85

@neel-astro

Description

@neel-astro

Description:

There is a scope for adding validation around user input and validation on the results of some of the checks we do upfront instead of waiting for the workflow to fail unexpectedly. Some of these scenarios to cover are:

  • add validation on root-folder, can't have it start with "/", and also can't set it to a non-existent folder
  • astro deployment inspect commands do not return with exit code 1 if the key does not exist, i.e. in case of deployment is not found in the workspace, so where we are assigning variable values, needs to handle for failure scenarios separately, or we could also update the astro deployment inspect logic to return with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions