can infisical github sync somehow sync all secrets...
# infisical-help
z
can infisical github sync somehow sync all secrets to one file? right now I get all different secrets... now I have a reuseable workflow that I am using to deploy certain things with secrets in a repo level environment....
j
Hey Ze! So the GitHub secret sync works by creating individual GitHub Actions secrets via the GitHub API — there's no way to bundle them all into a single file through that sync, since that's just how GitHub's secrets API works (each secret is stored separately). That said, if what you're after is having all your secrets available as a single file (like an
.env
) in your workflow, I'd recommend using our GitHub Action instead of the sync. It pulls your secrets directly from Infisical during the workflow run, so you can export them however you need — env vars, a file, whatever works for your setup. You can pair that with your reusable workflow and it should do exactly what you're looking for. I made a

video about it here▾

. Let me know!