diff --git a/.drone.yml b/.drone.yml index cb878c2..01eae9d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -73,12 +73,18 @@ steps: from_secret: password_authelia port: 22 command_timeout: 15m + envs: + - DRONE_CUSTOM_ARGS + - DRONE_BUILD_EVENT script: | sh -eu <<'EOF' fetch -o /tmp/authelia-update.sh \ https://git.familie-berner.de/Open/infra-maintenance/raw/branch/main/authelia/authelia-update.sh chmod +x /tmp/authelia-update.sh + + echo "[INFO] Build event: ${DRONE_BUILD_EVENT}" echo "[INFO] Args: ${DRONE_CUSTOM_ARGS:-}" + timeout 10m /tmp/authelia-update.sh ${DRONE_CUSTOM_ARGS} EOF