Skip to content

Skip the waiting when the deploy was canceled due Ignored Build Step #107

@victorcarvalhosp

Description

@victorcarvalhosp

Is your feature request related to a problem? Please describe.
On Vercel we can ignore build step in the settings, here we do that by adding npx nx-ignore my-project - the problem is that when that happens, the await Vercel step hangs forever

This is what I can see in the logs:

##[debug]Received these data from Vercel: {"alias":["streamline-mono-git-fork-victorcarvalhosp-c-d37dd4-streamlinehq.vercel.app"],"aliasAssigned":false,"automaticAliases":["streamline-mono-git-fork-victorcarvalhosp-c-d37dd4-streamlinehq.vercel.app"],"bootedAt":1740495809875,"buildingAt":1740495811638,"buildSkipped":false,"canceledAt":1740495907421,"createdAt":1740495809875,"creator":{"uid":"O5uF7AvFcIr83QrJ29AKeN3B","username":"victorcarvalhodev","avatar":"ac5569c8e6c32a56dc0f4cb694cdba1c4af54b4a"},"deletedAt":null,"errorLink":"https://vercel.com/docs/platform/projects#ignored-build-step","errorMessage":"The Deployment has been canceled as a result of running the command defined in the \"Ignored Build Step\" setting.","gitSource":{"ref":"chore/improve-deploy-prod","repoId":208127007,"sha":"3ec275af1698ba3482f4b7e50161fecbe880002e","type":"github","prId":3086},"id":"dpl_9sdNbC5pKuxT9uem7WxvgLeMdNBf","initReadyAt":1740495907421,"name":"streamline-mono","meta":{"githubCommitAuthorName":"Victor Carvalho","githubC

Describe the solution you'd like
It should just return the skipped result and not keep waiting.

Describe alternatives you've considered
Tried updating my gh action to not run it, by adding the same 'npx nx-ignore my-project' in the action, before calling this action - but this is slow and adds almost two extra minutes to the action.

Additional context

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