.drone.yml aktualisiert
This commit is contained in:
@@ -73,12 +73,18 @@ steps:
|
|||||||
from_secret: password_authelia
|
from_secret: password_authelia
|
||||||
port: 22
|
port: 22
|
||||||
command_timeout: 15m
|
command_timeout: 15m
|
||||||
|
envs:
|
||||||
|
- DRONE_CUSTOM_ARGS
|
||||||
|
- DRONE_BUILD_EVENT
|
||||||
script: |
|
script: |
|
||||||
sh -eu <<'EOF'
|
sh -eu <<'EOF'
|
||||||
fetch -o /tmp/authelia-update.sh \
|
fetch -o /tmp/authelia-update.sh \
|
||||||
https://git.familie-berner.de/Open/infra-maintenance/raw/branch/main/authelia/authelia-update.sh
|
https://git.familie-berner.de/Open/infra-maintenance/raw/branch/main/authelia/authelia-update.sh
|
||||||
chmod +x /tmp/authelia-update.sh
|
chmod +x /tmp/authelia-update.sh
|
||||||
|
|
||||||
|
echo "[INFO] Build event: ${DRONE_BUILD_EVENT}"
|
||||||
echo "[INFO] Args: ${DRONE_CUSTOM_ARGS:-<none>}"
|
echo "[INFO] Args: ${DRONE_CUSTOM_ARGS:-<none>}"
|
||||||
|
|
||||||
timeout 10m /tmp/authelia-update.sh ${DRONE_CUSTOM_ARGS}
|
timeout 10m /tmp/authelia-update.sh ${DRONE_CUSTOM_ARGS}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user