Commit 30bd9802 authored by Cédric OLIVIER's avatar Cédric OLIVIER
Browse files

Merge branch '3-fix-execute-hook-scripts-with-shebang-shell' into 'master'

Resolve "fix: execute hook scripts with shebang shell"

Closes #3

See merge request to-be-continuous/aws!8
parents 01a5cf04 e40e7d26
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -260,7 +260,8 @@ stages:
    if [[ -f "$deployscript" ]]
    then
      log_info "--- deploy script (\\e[33;1m${deployscript}\\e[0m) found: execute"
      sh "$deployscript"
      chmod +x "$deployscript"
      "$deployscript"
    else
      log_error "--- no deploy script found: abort"
      exit 1
@@ -291,7 +292,8 @@ stages:
    if [[ -f "$cleanupscript" ]]
    then
      log_info "--- cleanup script (\\e[33;1m${cleanupscript}\\e[0m) found: execute"
      sh "$cleanupscript"
      chmod +x "$cleanupscript"
      "$cleanupscript"
    else
      log_error "--- no cleanup script found: abort"
      exit 1