-
Notifications
You must be signed in to change notification settings - Fork 492
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
During launch stage, current symlink points to previous release #224
Comments
Hi, Launch is called after the new app folder was symlinked, so if you want to restart your server you need to replace this
with
|
what if I want to run stuff (for example: notifications, tracking metrics) before the launch stage and want to use the latest (HEAD) code? |
nevermind, I realized the current, unchanged, directory it's the actual (temp) build directory |
I am still having this issue. For example, I run a database migration on |
I want to run some commands in the launch stage.
But I noticed current_path location points to the the previous deployment..
Of course I want to run something in the current deploy directory.
Is there another stage than launch I can use for this?
Same issue as here:
http://stackoverflow.com/questions/19836302/mina-deployment-invoke-task-once-current-symlink-is-updated
The text was updated successfully, but these errors were encountered: