This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 39
beforeDeploy not executed , if no files founds #6
Labels
Comments
Since version 0.19.0 you can use the new prepare setting, which executes target operations before {
"deploy.reloaded": {
"targets": [
{
"prepare": [
{
"type": "exec",
"command": "npm run prod"
}
]
}
]
}
} |
Many thanks, it is working , but I can't see any output of the process , |
In fact , It doesn't reload the file list after the prepare statement. |
Since version 0.20.0 ...
|
Nice , thanks a lot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
I go a sftp target , and packages listing files under a dist repositiry
the dist directory is produced by beforeDeploy task.
Actual behavior
deploy does nothing , since no files found because the dist directory did'nt exist yiet.
Expected behavior
the deploy should run the beforeDeploy , event if no files found
Steps to reproduce
remove the dist repository
Example config
Your environment
Additional comments
may be necessary to add some force atribute to the task .
The text was updated successfully, but these errors were encountered: