Commit 72667f8d authored by Cédric OLIVIER's avatar Cédric OLIVIER
Browse files

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

Resolve "fix: execute hook scripts with shebang shell"

Closes #7

See merge request to-be-continuous/s3!11
parents 01f2bb2d c3883551
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -304,7 +304,8 @@ stages:
    if [[ -f "$prescript" ]]
    then
      log_info "--- \\e[32mpre-deploy hook\\e[0m (\\e[33;1m${prescript}\\e[0m) found: execute"
      bash "$prescript"
      chmod +x "$prescript"
      "$prescript"
    else
      log_info "--- \\e[32mpre-deploy hook\\e[0m (\\e[33;1m${prescript}\\e[0m) not found: skip"
    fi