Ctrl K
ComunidadGuías…

src/providers/job-completed-hook.sh

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
#!/bin/sh

set -e

# lambda copies everything to /tmp/runner
if [ -d /tmp/runner ]; then
  cd /tmp/runner
else
  cd $(dirname "$0")
fi

# run user hook if it exists
if [ -x job-completed-hook-user.sh ]; then
  exec ./job-completed-hook-user.sh
fi