You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to run different build commands for my static website, depending on the stage.
The following does not work, because the ${stage} is empty, even when explicitly setting the stage via the --stage cli parameter:
Deploying...
Error: Failed running "src.hook": "npm run build-${stage}" due to the following error: Command failed: npm run build-${stage}
npm ERR! missing script: build-
The text was updated successfully, but these errors were encountered:
Description
I want to run different build commands for my static website, depending on the stage.
The following does not work, because the
${stage}
is empty, even when explicitly setting the stage via the--stage
cli parameter:Result:
The text was updated successfully, but these errors were encountered: