# Forge: Deploy Script Environment Variables

DevFeed: [Forge: Deploy Script Environment Variables](<https://devfeed.tech/articles/forge-deploy-script-environment-variables-3657.md>)

Original publisher: [Read original article](<https://laravel.com/blog/forge-deploy-script-environment-variables>)

Author: James Brooks

Published: 2020-06-16T07:45:00Z

Content type: article

Language: en

Sources: [Laravel Blog](<https://devfeed.tech/sources/laravel-blog.md>)

Topics: [Deployment](<https://devfeed.tech/topics/deployment.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>), [Script](<https://devfeed.tech/topics/script.md>)

Tags: [deployment](<https://devfeed.tech/tags/deployment.md>), [laravel](<https://devfeed.tech/tags/laravel.md>)

## AI overview

Laravel Forge now injects dynamic environment variables into custom deployment scripts, allowing users to customize deployments and apply conditions such as stopping a deployment based on the commit message and whether it was manually initiated.

## Source excerpt

We've super-charged custom deployment scripts in [Laravel Forge](https://laravel.com/forge) with the addition of dynamic environment variables. When Forge deploys your website, we will now automatica...