You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 19, 2021. It is now read-only.
- name: copy asset files when not changedshell: "cp -R {{ current_path }}/public/assets {{ build_path }}/public/assets"when: compile_assets and assets is defined and not assets.changed
For example, given a current_path of some_current_dir/ and a build_path of some_build_dir/, this seems to create a some_build_dir/public/assets/assets (notice that it's nested) linking to some_current_dir/public/assets.
I may be misunderstanding, but isn't this action supposed to link
some_build_dir/public/assets
to
some_current_dir/public/assets
...?
Not to link
some_build_dir/public/assets/assets
to
some_current_dir/public/assets
...?
Thank you for this repo, by the way, it's a huge help!
The text was updated successfully, but these errors were encountered:
@nicolai86 while technically this is a question, depending on the answer I think it's more of a bug report—I noticed this behavior in a production app which implemented your pattern a while ago! :)
@kjleitz Yup; I think this should work; I’ll need to dig a little for an old rails app which is deployed via rails - I’ll probably get back to you on the weekend.
ansible-rails-deployment/tasks/main.yml
Line 55 in 79b8c10
For example, given a
current_path
ofsome_current_dir/
and abuild_path
ofsome_build_dir/
, this seems to create asome_build_dir/public/assets/assets
(notice that it's nested) linking tosome_current_dir/public/assets
.I may be misunderstanding, but isn't this action supposed to link
to
...?
Not to link
to
...?
Thank you for this repo, by the way, it's a huge help!
The text was updated successfully, but these errors were encountered: