24 lines
532 B
YAML
24 lines
532 B
YAML
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)
|