use password and APIKEY
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
2024-10-29 14:59:13 +00:00
parent 80fa5859a5
commit 2ea001148f
2 changed files with 7 additions and 1 deletions
@@ -4,7 +4,8 @@ data:
#!/usr/bin/env bash
bw config server https://bitwarden.tryton.geeraert.eu/
bw login --apikey
bw list items >> /backup/backup_$(date "+%Y-%m-%d_%Hh-%m").json
export BW_key=$(bw unlock $BW_PASSWORD --raw)
bw list items --session $BW_key >> /backup/backup_$(date "+%Y-%m-%d_%Hh-%m").json
kind: ConfigMap
metadata:
creationTimestamp: null