Skip to content

Commit

Permalink
chore: fix deploy hook
Browse files Browse the repository at this point in the history
  • Loading branch information
yeshan333 committed Nov 14, 2023
1 parent 63ca11c commit 174a193
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions elixir_buildpack.config
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ always_rebuild=true
release=true

# A command to run right before fetching dependencies
hook_pre_fetch_dependencies="ls -al"
hook_pre_fetch_dependencies="pwd && ls -al"

# A command to run right before compiling the app (after elixir, .etc)
hook_pre_compile="ls -al"
hook_pre_compile="pwd && ls -al"

hook_compile="mix compile --force --warnings-as-errors"

# A command to run right after compiling the app
hook_post_compile="ls -al && mkdir -p /app/_build/prod/rel/explore_ast_app/lib/explore_ast_app-0.1.0/lib && cp -r lib /app/_build/prod/rel/explore_ast_app/lib/explore_ast_app-0.1.0/lib"
hook_post_compile="pwd && ls -al && mkdir -p /workspace/_build/prod/rel/explore_ast_app/lib/explore_ast_app-0.1.0/lib && cp -r lib /workspace/_build/prod/rel/explore_ast_app/lib/explore_ast_app-0.1.0/lib"

# Set the path the app is run from
runtime_path=/app
Expand Down

0 comments on commit 174a193

Please sign in to comment.