Using symbolic links
How to use Ubuntu symbolic links with Cloud 66
Public folder
If it's acceptable to serve your files from your public directory, you can re-use the public/system folder which is already auto-symlinked to shared/system on each deploy. The down-side of doing this is that it bypasses your application and your files get served directly by Nginx without security.
Symbolic link
Alternatively, you can use deploy hooks to create the symbolic link. Also, you can use $STACK_BASE for your stack base path (e.g. $STACK_BASE/shared/uploads) for your deploy hook script.
To create the symbolic link, your deploy hook script could contain this:
The reason we run rm -rf on the $STACK_PATH/uploads directory is due to the way that the ln command works. When you issue the ln command, it places a link to the source directory inside the target directory, so we have to remove the directory before creating the symbolic link.
The deploy hook would look like this: