use configmap to run the script
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
2024-10-25 11:24:48 +01:00
parent 0bcf765c4c
commit cb6ac10932
2 changed files with 25 additions and 4 deletions
@@ -4,7 +4,7 @@ data:
#!/usr/bin/env bash
bw config server https://bitwarden.tryton.geeraert.eu/
export BW_key=$(bw login valvankart@orange.fr Impreza555 --raw)
bw list items --session $BW_key >> /tmp/backup.json
bw list items --session $BW_key >> /backup/backup_$(date "+%Y-%m-%d_%Hh-%m").json
kind: ConfigMap
metadata:
creationTimestamp: null