angellofd/Phase Secrets to .env

Securely fetches secrets from your Phase server and saves them to a .env file

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 5, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: angellofd/phase-to-env@412a0914b638514d7d692340ef38b7d11260a7d7 # v1.2.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
APP_IDPhase App IDyes
ENV_NAMEEnvironment name (e.g., development, production)yes
SERVICE_TOKENPhase Service Tokenyes
HOSTPhase API base URLyes
EXCLUDE_SECRETSComma-separated list of secret names to exclude from the .env file (they will still be exported if EXPORT_ENV_VARS is true)no
SECRET_FILE_PATHPath/Name of the output file (default: .env)no.env
EXPORT_ENV_VARSExport secrets as environment variables to GITHUB_ENV (true/false)nofalse

no outputs