Commit and push after local validation passes. The CI workflow mirrors the same checks, so green local runs usually mean green pipelines.
Switching environments
Because the deploy script requires an explicit -e flag, you can test multiple accounts in a single session:
./scripts/deploy-templates.sh -e staging./scripts/deploy-templates.sh -e production
Each command reads from the matching parameters/<environment>/ folder, so keep those files up to date when you introduce new templates.
Testing template changes safely
When you are experimenting with large infrastructure changes, create a scratch parameter folder (for example parameters/lab/) and run Rain directly against it. Keep the folder out of version control by adding it to .gitignore.
Looking for automation details? The CI/CD Workflow guide breaks down what happens after you push.