Initial commit
This commit is contained in:
commit
b68c389605
23
action.yml
Normal file
23
action.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
name: Auth Warden
|
||||||
|
description: Authenticate with Bitwarden
|
||||||
|
author: Jamie Schouten
|
||||||
|
inputs:
|
||||||
|
email:
|
||||||
|
description: 'email'
|
||||||
|
required: true
|
||||||
|
password:
|
||||||
|
description: 'password'
|
||||||
|
required: true
|
||||||
|
server:
|
||||||
|
description: 'Bitwarden server'
|
||||||
|
required: false
|
||||||
|
default: ${{ vars.WARDEN_URL }}
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Auth Warden
|
||||||
|
shell: sh
|
||||||
|
run: |
|
||||||
|
bw config server ${{ inputs.server }}
|
||||||
|
export BW_SESSION=$(bw login '${{ inputs.email }}' '${{ inputs.password }}' --raw)
|
Loading…
x
Reference in New Issue
Block a user