Unbelievable... I JUST noticed that under the "deployment hooks" tab, there is a "Manage Linked Folders" button which from how it sounds, does EXACTLY what I am trying to do. I am in shock if this is the case because it is something that I have been stressing about for months now...
Creating Additional Alias/Shortcut Directories like "Storage"
Since Envoyer creates a completely new file structure each time a repo update is pushed, it has an alias for the storage directory set up because some directories shouldn't be recreated each time (like storage).
e.g.
/home/forge/default/current/storage
is really an alias to
/home/forge/default/storage
How would I go about creating a similar alias/shortcut that will go from my app into a separate folder directory like that though and create it each time a repo is pushed?
I want to make it so this file:
/home/forge/default/current/themes/theme-name/content
is really an alias to
/home/forge/default/content
Now I have done this pretty easily via SSH and it works perfectly by doing
sudo ln -s /home/forge/default/content /home/forge/default/current/themes/theme-name/content
BUT when I push a new repo update, it of course does not keep this alias/shortcut folder. So how does Envoyer accomplish this with the "storage" folder to automatically have this shortcut/alias working each time a repo is pushed?
Please or to participate in this conversation.