[CHORE] Tweak Action Inputs
This commit is contained in:
parent
83fa63b974
commit
11fe49dd2a
1 changed files with 13 additions and 14 deletions
27
action.yml
27
action.yml
|
@ -1,25 +1,24 @@
|
|||
name: 'Elysium Infisical Secrets'
|
||||
description: 'Fetch secrets from Infisical and add them to the env'
|
||||
name: "Elysium Infisical Secrets"
|
||||
description: "Fetch secrets from Infisical and add them to the env"
|
||||
inputs:
|
||||
infisical-token:
|
||||
description: 'Infisical API Token'
|
||||
description: "Infisical API Token"
|
||||
required: true
|
||||
secret-envs:
|
||||
description: 'The environments to fetch secrets for (Example: ci or ci,prod,edge )'
|
||||
description: "The environments to fetch secrets for (Example: ci or ci,prod,edge )"
|
||||
required: true
|
||||
secret-paths:
|
||||
description: 'Secret paths for the secrets (Must match the order of envs! Example: /main or /main,/alt-main)'
|
||||
description: "Secret paths for the secrets (Must match the order of envs! Example: /main or /main,/alt-main)"
|
||||
required: true
|
||||
project-id:
|
||||
description: "Infisical Secrets Project"
|
||||
required: true
|
||||
api-url:
|
||||
description: 'Infisical API URL (defaults to https://infisical.dunemask.dev/api)'
|
||||
description: "Infisical API URL (defaults to https://infisical.dunemask.dev/api)"
|
||||
required: false
|
||||
default: 'https://infisical.dunemask.dev/api'
|
||||
project-id:
|
||||
description: 'Infisical API URL (defaults to https://infisical.dunemask.dev/api)'
|
||||
required: false
|
||||
default: ${{ vars.INFISICAL_SECRETS_PROJECT_ID }}
|
||||
default: "https://infisical.dunemask.dev/api"
|
||||
runs:
|
||||
using: 'composite'
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Infisical CLI install
|
||||
shell: bash
|
||||
|
@ -27,7 +26,7 @@ runs:
|
|||
# Install Infisical Binary
|
||||
echo "Installing Infisical!"
|
||||
curl -s -L https://github.com/Infisical/infisical/releases/download/infisical-cli%2Fv0.28.5/infisical_0.28.5_linux_amd64.tar.gz | tar xvzf - infisical
|
||||
|
||||
|
||||
# Install yq
|
||||
echo "Installing yq"
|
||||
curl -s -L https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 >> yq
|
||||
|
@ -58,4 +57,4 @@ runs:
|
|||
rm mask.sh
|
||||
done
|
||||
- shell: bash
|
||||
run: echo "Secrets added to environment!"
|
||||
run: echo "Secrets added to environment!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue