1 2 3 4
set -ex echo "[$(date "+%F %R")] Publish triggered. Artefact: $1" >> ../../../../trigger_log # Do the publish stuff here