.drone.yml aktualisiert
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -45,13 +45,11 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: password_authelia
|
from_secret: password_authelia
|
||||||
port: 22
|
port: 22
|
||||||
# Wir decken beide Schreibweisen ab
|
|
||||||
envs:
|
envs:
|
||||||
- args
|
- args
|
||||||
- ARGS
|
- ARGS
|
||||||
- DRONE_BUILD_EVENT
|
- DRONE_BUILD_EVENT
|
||||||
script: |
|
script: |
|
||||||
# Wir prüfen, welche der beiden Variablen gefüllt ist
|
|
||||||
FINAL_ARGS=${args:-${ARGS:-}}
|
FINAL_ARGS=${args:-${ARGS:-}}
|
||||||
|
|
||||||
echo "[INFO] Event: $DRONE_BUILD_EVENT"
|
echo "[INFO] Event: $DRONE_BUILD_EVENT"
|
||||||
@@ -60,7 +58,6 @@ steps:
|
|||||||
fetch -o /tmp/authelia-update.sh https://git.familie-berner.de/Open/infra-maintenance/raw/branch/main/authelia/authelia-update.sh
|
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
|
chmod +x /tmp/authelia-update.sh
|
||||||
|
|
||||||
# Ausführung mit dem gefundenen Parameter
|
|
||||||
timeout 10m /tmp/authelia-update.sh $FINAL_ARGS
|
timeout 10m /tmp/authelia-update.sh $FINAL_ARGS
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user