Skip to content

Commit

Permalink
Copy files on top of release
Browse files Browse the repository at this point in the history
This way, you can override any file in the release with a static file or
template from your project.
  • Loading branch information
eproxus committed Jul 8, 2021
1 parent 61d58a8 commit 58a08c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grisp_tools_deploy.erl
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ release(#{paths := #{install := InstallPath}} = State0) ->
copy(State0) ->
grisp_tools_util:pipe(State0, [
fun(S) -> run_script(pre_script, S) end,
fun copy_files/1,
fun copy_release/1,
fun copy_files/1,
fun(S) -> run_script(post_script, S) end
]).

Expand Down

0 comments on commit 58a08c0

Please sign in to comment.