feat: add Gitea workflow to list Infisical secrets for the Discord bot.
Some checks failed
List Infisical Secrets / list-secrets (push) Failing after 15s
Some checks failed
List Infisical Secrets / list-secrets (push) Failing after 15s
This commit is contained in:
23
.gitea/workflows/infisical-secrets.yml
Normal file
23
.gitea/workflows/infisical-secrets.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: List Infisical Secrets
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
list-secrets:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Install Infisical CLI
|
||||||
|
run: |
|
||||||
|
curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' | sudo -E bash
|
||||||
|
sudo apt-get update && sudo apt-get install -y infisical
|
||||||
|
|
||||||
|
- name: List Secrets
|
||||||
|
env:
|
||||||
|
INFISICAL_API_URL: https://infisical.lemarechal.eu/api
|
||||||
|
INFISICAL_UNIVERSAL_AUTH_CLIENT_ID: ${{ secrets.INFISICAL_CLIENT_ID }}
|
||||||
|
INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET: ${{ secrets.INFISICAL_CLIENT_SECRET }}
|
||||||
|
run: |
|
||||||
|
infisical secrets --path /Discord_bot --env prod
|
||||||
Reference in New Issue
Block a user