glab variable set DEPLOY_CONFIG -t file -v ./config.env
Create a file-type CI/CD variable
Stores the contents of ./config.env as a file variable named DEPLOY_CONFIG. File variables appear as files in the job workspace instead of environment strings, handy for certificates and config bundles. The -t flag chooses the variable type.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.