fixes logic
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Jochen Maes 2023-11-18 20:13:47 +01:00
parent 5cd074784d
commit 69f8f7d718

View File

@ -2,14 +2,10 @@
set -x
env
bw config server ${BW_HOST}
cat /root/.config/Bitwarden CLI/data.json
export BW_SESSION=$(bw login --apikey --raw)
bw unlock --passwordenv BW_PASSWORD
bw login --apikey
export BW_SESSION=$(bw unlock --passwordenv BW_PASSWORD --raw)
bw unlock --check
echo 'Running `bw server` on port 8087'
#bw serve --hostname 0.0.0.0 #--disable-origin-protection
/bin/bash
bw serve --hostname 0.0.0.0 #--disable-origin-protection