Files
frielith_discord_bot/.gitea/workflows/infisical-secrets.yml
aydent 89ce4681e1
Some checks failed
List Infisical Secrets / list-secrets (push) Failing after 2m17s
chore: Configure Infisical workflow to run in a specified container and remove the manual DNS resolution step.
2026-01-24 23:33:55 +01:00

29 lines
839 B
YAML

name: List Infisical Secrets
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
list-secrets:
runs-on: ubuntu-latest
container:
image: docker.gitea.com/runner-images:ubuntu-latest
options: --network host
steps:
- name: Fetch Secrets from Infisical
uses: https://github.com/Infisical/secrets-action@v1.0.7
with:
client-id: ${{ secrets.INFISICAL_CLIENT_ID }}
client-secret: ${{ secrets.INFISICAL_CLIENT_SECRET }}
project-id: ${{ secrets.INFISICAL_PROJECT_ID }}
env-slug: prod
secret-path: /Discord_bot
domain: https://infisical.lemarechal.eu
- name: Display Secrets
run: |
echo "Secrets fetched and injected as environment variables."
env | grep -v "GITHUB_" | grep -v "GITEA_" | sort