Home > Software design >  Automated deployment pipeline from GitHub to Salesforce.com
Automated deployment pipeline from GitHub to Salesforce.com

Time:10-20

I have apex code stored in the master branch of my remote repository in GitHub and would like to deploy it directly into my Salesforce Org.

Is there a way to setup a "pipeline" in GitHub with Salesforce.com in order to facilitate a direct deployment into Salesforce?

CodePudding user response:

I found this article that explains how to implement GitHub Actions: https://www.salesforceben.com/build-your-own-ci-cd-pipeline-in-salesforce-using-github-actions/

CodePudding user response:

Learn from Salesforce themselves. The https://github.com/trailheadapps/lwc-recipes (all lwc demos mentioned in documentation) contains actions to run code quality tools (prettier, lint), unit tests (apex, jest), deploy to scratch org, assign permission set, run all tests, delete the scratch org, report on code coverage...

Lots of goodies there. Might be too much if you're just after plain deploy to prod but it's good to know what toys are out there.

  • Related