Retype supports a set of environment variables for configuring sensitive values that should not be stored in source code, such as license keys and passwords. This approach is especially useful for CI/CD pipelines and GitHub Actions workflows.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/retypeapp/retype/llms.txt
Use this file to discover all available pages before exploring further.
RETYPE_KEY
TheRETYPE_KEY environment variable activates your Retype Pro license without storing the key in the retype.yml file or the local wallet.
This is the recommended approach for GitHub Actions deployments.
Adding to GitHub Actions
Store the key as a GitHub Actions secret, then reference it in your workflow:Add a repository secret
Navigate to your repository’s secrets settings:Click New repository secret, set the name to
RETYPE_KEY, and paste your license key as the value.Reference the secret in your workflow
In your See the GitHub Actions guide for a complete workflow example.
.github/workflows/retype-action.yml, expose the secret as an environment variable:.github/workflows/retype-action.yml
The
RETYPE_KEY configured as a GitHub secret is not stored anywhere in the repository. It is passed securely to the Retype build process at runtime.RETYPE_PASSWORD
TheRETYPE_PASSWORD environment variable sets the password used to access protected and private pages.
It is configured using the same process as RETYPE_KEY — add it as a repository secret with the name RETYPE_PASSWORD.
This is equivalent to passing --password <value> to the retype build or retype start CLI commands.
.github/workflows/retype-action.yml
RETYPE_KEY and RETYPE_PASSWORD.
RETYPE_DEFAULT_HOST
TheRETYPE_DEFAULT_HOST environment variable sets the default host for the Retype development server, overriding the default localhost.
This is equivalent to setting serve.host in retype.yml, but can be configured per-environment without modifying source files.
Configure it as a repository secret or system environment variable using the same process as the other variables above.