Files
frielith_discord_bot/.gitea/workflows/infisical-secrets.yml
Aydent f6b55b7fab
All checks were successful
List Infisical Secrets / list-secrets (push) Successful in 11s
right way
2026-01-25 11:53:44 +01:00

26 lines
808 B
YAML

name: List Infisical Secrets
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
list-secrets:
runs-on: ubuntu-latest
steps:
- name: Fetch Infisical Secrets
uses: https://gitea.lemarechal.eu/actions/infisical-secrets-fetcher@main
with:
client_id: ${{ secrets.INFISICAL_CLIENT_ID }}
client_secret: ${{ secrets.INFISICAL_CLIENT_SECRET }}
project_id: ${{ secrets.INFISICAL_PROJECT_ID }}
secret_path: '/'
domain: 'https://infisical.lemarechal.eu'
- name: Display Secrets (Masked)
run: |
echo "Secrets fetched and injected as environment variables."
# Gitea will automatically mask the values of these variables in the logs
env | grep -v "GITHUB_" | grep -v "GITEA_" | sort