{"id":1788,"date":"2026-10-07T09:00:00","date_gmt":"2026-10-07T03:30:00","guid":{"rendered":"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/"},"modified":"2026-11-15T11:31:02","modified_gmt":"2026-11-15T06:01:02","slug":"salesforce-ci-cd-github-actions","status":"publish","type":"post","link":"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/","title":{"rendered":"Salesforce CI\/CD with GitHub Actions and DevOps Center"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Salesforce CI\/CD means every change is checked and deployed automatically, instead of by hand with change sets. CI, short for continuous integration, validates each pull request with tests and scans. CD, short for continuous delivery, deploys approved changes to the next org in a repeatable way.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this post, you will build a GitHub Actions workflow that logs in with JWT, runs Code Analyzer and validates a deployment, and you will see how DevOps Center fits in. It builds on <a href=\"https:\/\/swapnilzambare.com\/blog\/git-for-salesforce-developers\/\">Git for Salesforce developers<\/a>, <a href=\"https:\/\/swapnilzambare.com\/blog\/salesforce-oauth-flows\/\">Salesforce OAuth flows<\/a> and <a href=\"https:\/\/swapnilzambare.com\/blog\/salesforce-unlocked-packages-2gp\/\">unlocked packages<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is Salesforce CI\/CD?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Salesforce CI\/CD is a pipeline that moves metadata from Git to orgs through automated steps. A tool, such as GitHub Actions, runs the Salesforce CLI on every pull request and merge. The result is fast feedback for developers and the same, tested release process every time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Think of an airport security line. Every bag goes through the same scanner, and nothing reaches the plane without passing. CI is the scanner, and CD is the conveyor belt that carries checked bags to the right plane.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Salesforce CI\/CD Matters<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In short, manual releases are slow and easy to get wrong. Here is why Salesforce CI\/CD matters at Bright Path Tutors.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>First, change sets often miss a field or a permission.<\/li>\n\n<li>Also, developers learn about failing tests only on release night.<\/li>\n\n<li>Next, two teams change the same class in different sandboxes.<\/li>\n\n<li>Security scans should run on every change, not once a year.<\/li>\n\n<li>Finally, auditors want a record of who approved each release.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">So automation catches problems early and makes releases boring, in a good way.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Salesforce CI\/CD Works<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A typical Salesforce CI\/CD pipeline has five steps. First, a developer pushes a branch and opens a pull request in GitHub. Next, the workflow logs in to a target org with the JWT bearer flow. Then it runs Code Analyzer and a validation deployment with Apex tests. After that, a reviewer approves and merges the pull request. Finally, a deploy job releases the change to the next org, such as UAT or production.<\/p>\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-ci-cd-github-actions-diagram-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-ci-cd-github-actions-diagram-1-1024x640.png\" alt=\"Salesforce CI\/CD diagram showing pull request, log in, check, review and deploy\" class=\"wp-image-1786\" srcset=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-ci-cd-github-actions-diagram-1-1024x640.png 1024w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-ci-cd-github-actions-diagram-1-300x188.png 300w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-ci-cd-github-actions-diagram-1-768x480.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">The steps of a Salesforce CI\/CD pipeline.<\/figcaption><\/figure>\n\n\n<h3 class=\"wp-block-heading\">Source Control<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In this setup, Git is the source of truth, not any org. So every change starts as a commit and a pull request.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Authentication<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The pipeline uses the JWT bearer flow with an External Client App and a private key stored as a secret. As a result, no password is ever stored.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Validate<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">sf project deploy validate runs a check-only deployment with tests. So it proves the change will deploy without changing the org.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Deploy<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After merging, sf project deploy start or a quick deploy releases the change. Quick deploy reuses a recent successful validation, so it skips rerunning tests.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">DevOps Center<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">DevOps Center is Salesforce&#8217;s own point-and-click tool for work items, pipelines and stages, backed by GitHub. So admins and developers share one release process.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Pipeline Commands at a Glance<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The table below lists the CLI commands most pipelines use.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Step<\/th><th>Command<\/th><\/tr><\/thead><tbody><tr><td>Log in with JWT<\/td><td>sf org login jwt<\/td><\/tr><tr><td>Scan code<\/td><td>sf code-analyzer run<\/td><\/tr><tr><td>Check-only deploy with tests<\/td><td>sf project deploy validate<\/td><\/tr><tr><td>Deploy<\/td><td>sf project deploy start<\/td><\/tr><tr><td>Deploy a validated job<\/td><td>sf project deploy quick<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">GitHub Actions vs DevOps Center<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The table below compares a scripted pipeline with DevOps Center.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Feature<\/th><th>GitHub Actions<\/th><th>DevOps Center<\/th><\/tr><\/thead><tbody><tr><td>Setup<\/td><td>YAML files you write<\/td><td>Point-and-click<\/td><\/tr><tr><td>Flexibility<\/td><td>Very high<\/td><td>Guided stages<\/td><\/tr><tr><td>Users<\/td><td>Developers<\/td><td>Admins and developers<\/td><\/tr><tr><td>Custom checks<\/td><td>Any tool or script<\/td><td>Limited<\/td><\/tr><tr><td>Best for<\/td><td>Code-heavy teams<\/td><td>Mixed admin and dev teams<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When to use which depends on the team. Use DevOps Center when admins drive many changes. Use GitHub Actions when you need custom steps, or combine both.<\/p>\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-ci-cd-github-actions-diagram-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-ci-cd-github-actions-diagram-2-1024x640.png\" alt=\"Salesforce CI\/CD diagram comparing GitHub Actions and DevOps Center\" class=\"wp-image-1787\" srcset=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-ci-cd-github-actions-diagram-2-1024x640.png 1024w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-ci-cd-github-actions-diagram-2-300x188.png 300w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-ci-cd-github-actions-diagram-2-768x480.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">GitHub Actions vs DevOps Center.<\/figcaption><\/figure>\n\n\n<h2 class=\"wp-block-heading\">A Real Salesforce CI\/CD Example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s build Salesforce CI\/CD at Bright Path Tutors. Every pull request to main is scanned and validated against the UAT sandbox.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Store the Secrets<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create an External Client App with the JWT bearer flow and upload your certificate.<\/li>\n\n<li>Pre-authorise the CI integration user through a permission set.<\/li>\n\n<li>In GitHub, open Settings &gt; Secrets and variables &gt; Actions.<\/li>\n\n<li>Add SF_CLIENT_ID, SF_USERNAME and SF_JWT_KEY (the private key text).<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: The Workflow File<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># .github\/workflows\/validate.yml\nname: Validate Salesforce changes\non:\n  pull_request:\n    branches: [main]\njobs:\n  validate:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\/checkout@v4\n      - uses: actions\/setup-node@v4\n        with:\n          node-version: '20'\n      - name: Install Salesforce CLI\n        run: npm install --global @salesforce\/cli\n      - name: Log in with JWT\n        run: |\n          echo \"${{ secrets.SF_JWT_KEY }}\" &gt; server.key\n          sf org login jwt --client-id \"${{ secrets.SF_CLIENT_ID }}\" \\\n            --jwt-key-file server.key --username \"${{ secrets.SF_USERNAME }}\" \\\n            --instance-url https:\/\/test.salesforce.com --alias uat\n      - name: Run Code Analyzer\n        run: |\n          sf plugins install code-analyzer\n          sf code-analyzer run --target force-app --rule-selector Recommended --severity-threshold 2\n      - name: Validate deployment with tests\n        run: |\n          sf project deploy validate --source-dir force-app \\\n            --test-level RunLocalTests --target-org uat --wait 60<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The workflow runs on each pull request to main. Then it logs in to UAT without a password, fails on serious scan findings and runs a check-only deployment with local tests.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: See the Result<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Here is the summary GitHub shows on the pull request.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Validate Salesforce changes \/ validate   Passed in 6m 12s\n  Code Analyzer: 0 violations at severity 1-2\n  Deploy validation: Succeeded, 48 components, 212 tests passed\n  Job ID: 0AfKj00000Lm3pQKAR (ready for quick deploy)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A failing test or a critical finding blocks the merge. As a result, only checked changes reach main.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Salesforce CI\/CD and Branching<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Keep the branch model simple, such as feature branches into main, with one branch per long-lived org if needed. Also, refresh sandboxes regularly, so validations match production.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common Mistakes with Salesforce CI\/CD<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Treating a sandbox, not Git, as the source of truth.<\/li>\n\n<li>Storing passwords instead of using JWT with a private key secret.<\/li>\n\n<li>Skipping tests in validation to save time.<\/li>\n\n<li>Letting people deploy by hand around the pipeline.<\/li>\n\n<li>Running every test class on every commit in huge orgs without a plan.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Best Practices for Salesforce CI\/CD<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Validate every pull request with RunLocalTests or specified tests.<\/li>\n\n<li>Use a dedicated CI user with least privilege.<\/li>\n\n<li>Add Code Analyzer with a severity threshold.<\/li>\n\n<li>Use quick deploy for fast, tested production releases.<\/li>\n\n<li>Combine DevOps Center for admins with scripted checks for code.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Practice Task<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Add a second workflow that runs on push to main and quick-deploys the validated job to production. Hint: store the job ID as an artifact or rerun validate, then call sf project deploy quick &#8211;job-id.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Most Asked Interview Questions on Salesforce CI\/CD<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">DevOps questions are standard for senior developers. Here are the 21 questions asked most about Salesforce CI\/CD.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Basic Questions on Salesforce CI\/CD<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q1: What is CI\/CD?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Continuous integration checks every change, so continuous delivery can then deploy it in a repeatable way.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q2: What is the source of truth in Salesforce CI\/CD?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is the Git repository, so orgs are built from it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q3: How does a pipeline log in to Salesforce?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It uses the JWT bearer flow, so it needs a client ID and a private key secret.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q4: What does deploy validate do?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It runs a check-only deployment with tests, so nothing in the org changes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q5: What is quick deploy?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It deploys a recent successful validation without rerunning tests.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q6: What is DevOps Center?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is Salesforce&#8217;s guided tool for work items, pipelines and stages, and it uses GitHub behind the scenes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q7: Which tool runs the Salesforce commands in a pipeline?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Salesforce CLI does, so the pipeline installs it with npm first.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Code and Scenario Questions on Salesforce CI\/CD<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q8: Where do you store the private key?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Keep it in the CI tool&#8217;s encrypted secrets, because a repository is never safe for keys.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q9: Which test level do you use for production?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">RunLocalTests, or RunSpecifiedTests with a clear list, so coverage rules pass.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q10: How do you fail a build on security issues?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Run Code Analyzer with a severity threshold, so serious findings stop the job.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q11: How do you deploy only changed metadata?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use a delta tool or package versions, so large orgs deploy faster.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q12: A validation passed yesterday. Can you quick deploy today?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, if it is still within the allowed window and nothing changed since.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q13: How do admins take part in CI\/CD?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">They use DevOps Center work items, so their changes become commits and pull requests.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q14: How do you keep sandboxes in sync?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Refresh them often and deploy from Git, so drift stays small.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Advanced Questions on Salesforce CI\/CD<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q15: How do packages fit into CI\/CD?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The pipeline builds package versions, installs them in test orgs and promotes them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q16: How do you handle destructive changes?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use a destructive changes manifest or package version removals, reviewed like code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q17: How do you speed up long test runs?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Run specified tests for small changes and full local tests before release.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q18: How do you secure the CI user?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Give it only deploy permissions it needs and restrict it to the External Client App.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q19: What branching model suits most teams?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Most teams use short feature branches into main, so protected branches and required checks stay simple.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q20: How do you roll back a bad release?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, deploy the previous commit, or install the previous package version.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q21: What metrics show a healthy pipeline?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, short build times, few failed releases and fast recovery when something breaks.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Official Resources<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/help.salesforce.com\/s\/articleView?language=en_US&amp;id=platform.devops_center_work_items_promote.htm&amp;type=5\" target=\"_blank\" rel=\"noopener noreferrer\">Promote Work Items Through Your Pipeline (DevOps Center Help)<\/a><\/li>\n\n<li><a href=\"https:\/\/help.salesforce.com\/s\/articleView?language=en_US&amp;id=platform.devops_center_configure.htm&amp;type=5\" target=\"_blank\" rel=\"noopener noreferrer\">Set Up DevOps Center for GitHub (Salesforce Help)<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Quick Recap<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Salesforce CI\/CD automates checks and deployments from Git.<\/li>\n\n<li>JWT login keeps passwords out of pipelines.<\/li>\n\n<li>Validate with tests on every pull request.<\/li>\n\n<li>Quick deploy releases a tested validation fast.<\/li>\n\n<li>DevOps Center helps admins join the same process.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What&#8217;s Next?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">With code, packages and pipelines covered, it is time to certify your skills. Next, read our guide to <a href=\"https:\/\/swapnilzambare.com\/blog\/salesforce-platform-developer-certification-guide\/\">the Salesforce Platform Developer certification<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Salesforce CI\/CD means every change is checked and deployed automatically, instead of by hand with change sets. CI, short for continuous integration, validates each&hellip;<\/p>\n","protected":false},"author":1,"featured_media":1785,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_swapz_level":"","_swapz_series_part":0,"_swapz_hide_toc":false,"_swapz_hide_featured":false,"_swapz_description":"","footnotes":""},"categories":[247,8,96],"tags":[68,130],"swapz_series":[],"class_list":["post-1788","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops-packaging","category-salesforce","category-salesforce-developer","tag-advanced","tag-devops"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Salesforce CI\/CD with GitHub Actions Explained<\/title>\n<meta name=\"description\" content=\"Salesforce CI\/CD explained simply: GitHub Actions workflow, JWT login, validate and deploy, Code Analyzer, DevOps Center pipelines and 21 interview Q&amp;A.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Salesforce CI\/CD with GitHub Actions Explained\" \/>\n<meta property=\"og:description\" content=\"Salesforce CI\/CD explained simply: GitHub Actions workflow, JWT login, validate and deploy, Code Analyzer, DevOps Center pipelines and 21 interview Q&amp;A.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/\" \/>\n<meta property=\"og:site_name\" content=\"Swapnil Zambare - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-07T03:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-15T06:01:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-ci-cd-github-actions-featured.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Swapnil Zambare\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Swapnil Zambare\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-ci-cd-github-actions\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-ci-cd-github-actions\\\/\"},\"author\":{\"name\":\"Swapnil Zambare\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/person\\\/10b09224c8bcc562716e86789427592a\"},\"headline\":\"Salesforce CI\\\/CD with GitHub Actions and DevOps Center\",\"datePublished\":\"2026-10-07T03:30:00+00:00\",\"dateModified\":\"2026-11-15T06:01:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-ci-cd-github-actions\\\/\"},\"wordCount\":1530,\"publisher\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-ci-cd-github-actions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/salesforce-ci-cd-github-actions-featured.png\",\"keywords\":[\"Advanced\",\"DevOps\"],\"articleSection\":[\"DevOps and Packaging\",\"Salesforce\",\"Salesforce Developer\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-ci-cd-github-actions\\\/\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-ci-cd-github-actions\\\/\",\"name\":\"Salesforce CI\\\/CD with GitHub Actions Explained\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-ci-cd-github-actions\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-ci-cd-github-actions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/salesforce-ci-cd-github-actions-featured.png\",\"datePublished\":\"2026-10-07T03:30:00+00:00\",\"dateModified\":\"2026-11-15T06:01:02+00:00\",\"description\":\"Salesforce CI\\\/CD explained simply: GitHub Actions workflow, JWT login, validate and deploy, Code Analyzer, DevOps Center pipelines and 21 interview Q&A.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-ci-cd-github-actions\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-ci-cd-github-actions\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-ci-cd-github-actions\\\/#primaryimage\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/salesforce-ci-cd-github-actions-featured.png\",\"contentUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/salesforce-ci-cd-github-actions-featured.png\",\"width\":2400,\"height\":1260,\"caption\":\"Salesforce CI\\\/CD featured image: title card with an Apex code example\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-ci-cd-github-actions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Salesforce CI\\\/CD with GitHub Actions and DevOps Center\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\",\"name\":\"Swapnil Zambare - Blog\",\"description\":\"Salesforce &amp; Tech Guides\",\"publisher\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\",\"name\":\"Swapnil Zambare - Blog\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/site-icon-512.png\",\"contentUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/site-icon-512.png\",\"width\":512,\"height\":512,\"caption\":\"Swapnil Zambare - Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/theSwapnilZambare\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/person\\\/10b09224c8bcc562716e86789427592a\",\"name\":\"Swapnil Zambare\",\"sameAs\":[\"https:\\\/\\\/swapnilzambare.com\\\/blog\"],\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/author\\\/swapnil-zambare\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Salesforce CI\/CD with GitHub Actions Explained","description":"Salesforce CI\/CD explained simply: GitHub Actions workflow, JWT login, validate and deploy, Code Analyzer, DevOps Center pipelines and 21 interview Q&A.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/","og_locale":"en_US","og_type":"article","og_title":"Salesforce CI\/CD with GitHub Actions Explained","og_description":"Salesforce CI\/CD explained simply: GitHub Actions workflow, JWT login, validate and deploy, Code Analyzer, DevOps Center pipelines and 21 interview Q&A.","og_url":"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/","og_site_name":"Swapnil Zambare - Blog","article_published_time":"2026-10-07T03:30:00+00:00","article_modified_time":"2026-11-15T06:01:02+00:00","og_image":[{"width":2400,"height":1260,"url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-ci-cd-github-actions-featured.png","type":"image\/png"}],"author":"Swapnil Zambare","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Swapnil Zambare","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/#article","isPartOf":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/"},"author":{"name":"Swapnil Zambare","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/person\/10b09224c8bcc562716e86789427592a"},"headline":"Salesforce CI\/CD with GitHub Actions and DevOps Center","datePublished":"2026-10-07T03:30:00+00:00","dateModified":"2026-11-15T06:01:02+00:00","mainEntityOfPage":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/"},"wordCount":1530,"publisher":{"@id":"https:\/\/swapnilzambare.com\/blog\/#organization"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/#primaryimage"},"thumbnailUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-ci-cd-github-actions-featured.png","keywords":["Advanced","DevOps"],"articleSection":["DevOps and Packaging","Salesforce","Salesforce Developer"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/","url":"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/","name":"Salesforce CI\/CD with GitHub Actions Explained","isPartOf":{"@id":"https:\/\/swapnilzambare.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/#primaryimage"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/#primaryimage"},"thumbnailUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-ci-cd-github-actions-featured.png","datePublished":"2026-10-07T03:30:00+00:00","dateModified":"2026-11-15T06:01:02+00:00","description":"Salesforce CI\/CD explained simply: GitHub Actions workflow, JWT login, validate and deploy, Code Analyzer, DevOps Center pipelines and 21 interview Q&A.","breadcrumb":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/#primaryimage","url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-ci-cd-github-actions-featured.png","contentUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-ci-cd-github-actions-featured.png","width":2400,"height":1260,"caption":"Salesforce CI\/CD featured image: title card with an Apex code example"},{"@type":"BreadcrumbList","@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/swapnilzambare.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Salesforce CI\/CD with GitHub Actions and DevOps Center"}]},{"@type":"WebSite","@id":"https:\/\/swapnilzambare.com\/blog\/#website","url":"https:\/\/swapnilzambare.com\/blog\/","name":"Swapnil Zambare - Blog","description":"Salesforce &amp; Tech Guides","publisher":{"@id":"https:\/\/swapnilzambare.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/swapnilzambare.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/swapnilzambare.com\/blog\/#organization","name":"Swapnil Zambare - Blog","url":"https:\/\/swapnilzambare.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/09\/site-icon-512.png","contentUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/09\/site-icon-512.png","width":512,"height":512,"caption":"Swapnil Zambare - Blog"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/in\/theSwapnilZambare"]},{"@type":"Person","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/person\/10b09224c8bcc562716e86789427592a","name":"Swapnil Zambare","sameAs":["https:\/\/swapnilzambare.com\/blog"],"url":"https:\/\/swapnilzambare.com\/blog\/author\/swapnil-zambare\/"}]}},"_links":{"self":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts\/1788","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/comments?post=1788"}],"version-history":[{"count":1,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts\/1788\/revisions"}],"predecessor-version":[{"id":2347,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts\/1788\/revisions\/2347"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/media\/1785"}],"wp:attachment":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/media?parent=1788"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/categories?post=1788"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/tags?post=1788"},{"taxonomy":"swapz_series","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/swapz_series?post=1788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}