SF Developer Instance and push to production

Setup Development Sandbox

  1. Goto Environments → Sandboxes

  2. Click Create new Sandbox

  3. Sign into Development Sandbox after it has been created

Create Trigger

Use this script to create a trigger in the sandbox https://salesforce-webhook-creator.herokuapp.com/app

 

Create and upload a change set in your source sandbox organization

  1. Log in to your sandbox.

  2. Navigate to Setup and enter change set into the Quick Find box.

  3. Click Outbound Change Set

  4. Click New.

  5. Enter the new Change Set name and description, then click Save.

  6. From the "Change Set Components" related list, click Add.

  7. Add profiles to the Change Set for the Users you'd like to grant access.

  8. Select the "Component Type" for the component you want to deploy (for example, Apex class, Apex Trigger).

  9. Select the specific class or trigger name, then click Add to Change Set.

  10. From the "Change Set Detail" related list, click Upload, then select the target organization as Production.

  11. Click Upload.

After your upload has completed, you'll receive an email to confirm completion of your Change Set upload.

To complete the migration, an inbound change administrator can deploy the Change Set in the destination production organization.
 

Complete the deployment in your target production organization

  1. Login to the target organization.

  2. Navigate to Setup and enter Change Set into the Quick Find box.

  3. Click Inbound Change Sets.

  4. Under "Change Sets Awaiting Deployment," click your Change Set's name.

  5. Click Validate to validate the components. Note: For successful deployment you should have at least 75% code coverage.

  6. Click Deploy.

Once you have a successful validation, repeat the above steps and choose Deploy on step 5 to complete the deployment of your Change Set. 

https://help.salesforce.com/s/articleView?id=000315564&type=1

Â