Skip to content
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

when to run? #16

Open
ivomarino opened this issue May 3, 2017 · 1 comment
Open

when to run? #16

ivomarino opened this issue May 3, 2017 · 1 comment

Comments

@ivomarino
Copy link

is it possible to run deploy:set_permissions:acl at the really end of the deployment process? It actually seems that a composer install process sets some file permissions which I need to override, thanks.

@hisem
Copy link

hisem commented Aug 7, 2017

@ivomarino Yes, you can actually have it run whenever you want.

In the docs, it suggests doing:
before "deploy:updated", "deploy:set_permissions:acl”
meaning it will run before the “deploy:updated” hook.

Check out the basic “flow” of capistrano here: http://capistranorb.com/documentation/getting-started/flow/

If you simply want to make sure it runs after composer, you can use after "composer:run", "deploy:set_permissions:acl”.

Likewise, you can have it run after/before any other process (or hook) that is defined. Check the output of capistrano, you can see which processes run in which order, and use the “before” or “after” to insert your process where it suits your needs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants