Setting up a Dev → Staging → Production Promotion Workflow
Last updated: September 9, 2025
This article explains how to configure Spacelift for a development workflow where changes flow from developer-specific stacks through staging to production, with appropriate controls at each stage.
Prerequisites
Before setting up the workflow, ensure you have:
Developer-specific stacks configured
A staging stack
A production stack
Configuration Steps
1. Enable Run Promotion
For your developer stacks, enable run promotion:
Go to the stack settings
Under the Behavior section, toggle "Run Promotion" on
2. Configure Staging Auto-deployment
Choose one of these options for staging deployment:
Enable autodeploy in stack settings, or
Create an approval policy to control when changes can be promoted
3. Set Up Stack Dependencies
Configure stack dependencies to create the promotion chain:
Add the staging stack as a dependency of your dev stacks
Add the production stack as a dependency of your staging stack
Workflow Operation
Once configured, the workflow operates as follows:
Developers push changes to their branch and test in their dev stack
When ready, developers create a PR
Upon PR approval, changes are automatically promoted to staging
After successful staging deployment, a plan is triggered in production
Production changes require manual approval before applying
Troubleshooting
If promotions aren't working as expected, verify:
Run Promotion is enabled on the source stacks
Stack dependencies are correctly configured
Appropriate approval policies are in place
For more detailed information, see the following documentation: