switch to apikey instead of plain username and password
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 13m31s

This commit is contained in:
2024-10-28 14:26:47 +00:00
parent 09c09794f4
commit 65e448218c
3 changed files with 8 additions and 8 deletions
@@ -3,8 +3,8 @@ data:
export_bitwarden.sh: |
#!/usr/bin/env bash
bw config server https://bitwarden.tryton.geeraert.eu/
export BW_key=$(bw login $BITWARDEN_USERNAME $BITWARDEN_PASSWORD --raw)
bw list items --session $BW_key >> /backup/backup_$(date "+%Y-%m-%d_%Hh-%m").json
bw login --apikey
bw list items >> /backup/backup_$(date "+%Y-%m-%d_%Hh-%m").json
kind: ConfigMap
metadata:
creationTimestamp: null