
Automate your Salesforce delivery pipeline with modern CI/CD and DevSecOps practices using GitHub Actions, packaging, validation, and deployment automation for secure, scalable releases.
Practice consistently by doing, not just watching; follow along, create repositories, run commands, and build pipelines; explore documentation and engage with the community.
Connect with the instructor on LinkedIn for insights on Salesforce, DevSecOps, CI/CD, and Git, and request direct support or share questions in the QnA to grow the community.
Adjust playback rate from 0.5x to 2x to fit your pace. Use the gear icon to select video quality (1080p or auto) and adjust the audio volume.
Understand why deployment matters in Salesforce by examining metadata migration across dev, integration, QA, UAT, staging, and production environments, with emphasis on automation and traceability.
Explore how Git, a distributed version control system, tracks changes, preserves history, and enables safe collaboration with branching, commits, and merge requests for DevSecOps workflows.
Explore core Git concepts, including repositories and remote repositories, commits as snapshots, branches for isolated development, merges for integration, and remote platforms for push and pull.
Explore the three git stages—working directory, staging area, and commit—and learn how changes move from local work to the remote repository, then through pull requests and pipelines.
Set up your git environment by initializing local repositories with git init, navigating folders on macOS or Windows, and configuring global user name and email with git config.
Learn to scaffold an order management module in VS Code, create login and signup folders and files, and manage changes with git: status, add, commit, and log history.
Master git commits with the cli: stage changes with git add, view status, commit with clear messages, and use prefixes like feat, fix, docs, refactor, and test.
Discover how to create and switch git branches with git branch and git checkout, understand main or master as production-ready code, and manage uncommitted changes across branches.
Learn modern Git branching with Git switch, including creating and switching branches from master or dev, using -C for create-and-switch, and adopting feature, bugfix, hotfix, and release naming conventions.
connect a local repository to a remote GitHub repo using git remote add origin with the remote URL, then push changes to master or dev branches.
Learn to use git stash to temporarily store changes on a feature branch, switch to urgent work, and restore stashed work with git stash pop after completing the fix.
Use git worktree to run multiple working directories in parallel without switching windows. Create, manage, and remove work trees to work on separate branches in parallel and boost productivity.
Learn how git reset and git revert differ, including hard and soft resets, how head and history move, and why release managers use these commands in CI/CD pipelines.
Learn how git revert preserves history by creating a new commit to undo changes. Revert a specific commit or a range, unlike git reset, and optionally use --no-commit.
Explore git cherry-pick to move selected commits onto a release branch. Learn to create a master-based release branch, resolve conflicts, and raise a production pull request.
Master the git pull command to sync local and remote branches and merge feature branches into dev. Explore pull requests, reviews, and branch management in a collaborative Salesforce devsecops workflow.
Learn how merge conflicts arise when two branches modify the same line and how to resolve them via pull requests between feature and dev branches, git commands, and UI tools.
Explore how to use the vscode github extension alongside git lens and git history to manage git commands via the interface, including pull, push, and branch creation.
Clone an existing remote repository to your local machine with git clone and the repository URL, using https or ssh, then open the project in VS Code to start work.
Explore git tags for release management, covering lightweight and annotated tags, and learn to create, view, push, and delete tags to drive stable releases and CI/CD pipelines.
Learn to manage git tags end-to-end: create annotated tags with messages, list and inspect tags, push and delete them remotely, and create hotfix branches from tags.
Explore the GitFlow branching design pattern, its five branches (master/main, develop, feature, hotfix, release), and how it enables scheduled releases, collaboration without conflicts, and safer production deployments.
Explain GitHub flow: create feature or hotfix branches from main, push changes, open pull requests, and merge to main, noting its CI/CD focus and lack of release management.
Explore trunk-based one flow, using a single master branch with feature, release, and hotfix branches. Learn naming conventions, release from specific commits, and how tags enable controlled production deployments.
Explore a Salesforce branching strategy based on a Git flow modification, linking development, integration, QA, UAT, staging, and production to feature, main, and release branches with CI checks.
Explore the continuous improvement cycle for CI/CD in Salesforce: planning, implementation, testing, deployment, and monitoring, with QA and regressive testing, and production release management.
Bridge the gap between developers and operations by treating DevOps as a practice or culture that balances rapid innovation with stability, enabling smooth adoption of new UI and processes.
Continuous integration merges code and runs automated checks to ensure safe commits, while continuous delivery and continuous deployment automate staging and production with or without a human gate.
An automated YAML-defined pipeline orchestrates stages and steps, runs on a runner, and triggers on push, pull request, merge, tag, or release to deploy artifacts.
Identify pipeline triggers such as feature-branch pushes, pull requests, and merges to main or qa, triggering tests, static code analysis, deployments, quality gates, nightly regression, tag releases, and manual runs.
Design branching strategies and environment workflows for Salesforce projects, using feature, hotfix, and release branches to promote changes across development, integration, staging, UAT, and production with zero-downtime deployments.
Learn how pull requests and code reviews drive CI/CD workflows, including automated checks for builds, tests, and security, plus human review for coding standards and meaningful test cases.
Explore key terms in Salesforce DevSecOps pipelines, including commits, branches, pull requests, environment variables, artifacts, quality gates, static analysis, code coverage, merge conflicts, and branch protection.
Learn to start with Copado on Salesforce, access Copado Academy, and configure a source format pipeline to automate promotions across development environments.
Create a Copado playground org from the training area, choose Copado playground, skip pipeline, and provision a production environment with Copado deployer, quality tools, and sfdx pipeline.
Create a Copado playground with up to 1500 credits on success.copado.com, configure a unique org, and authenticate with sf dx to begin learning Copado deployments.
Set up dev hub and two sandboxes, authenticate the Copado governance org, create API keys and credentials, assign Copado licenses and permission sets, and configure persona management for pipeline creation.
Generate sfdx extension bundle, pmd extension bundle, and next gen data deployer extensions, then set up a Copado governed sfdx pipeline connected to a GitHub repository.
Install the copado devops app in your Salesforce org, add users as release managers and story creators, and initialize a pipeline linked to a project for multi-environment deployments.
Discover how Copado's latest manage package introduces a new commit UI, refreshes the index, performs dependency analysis, selects changes, and commits with base and feature branch options.
Learn to create and deploy a Copado user story by setting licenses and credentials, creating a project object, and promoting changes to the uat environment using sfdx.
Learn how to add extra environments to a Copado pipeline by creating sandboxes and Git branches, configuring environment connections, authenticating sandboxes, and activating the updated deployment flow.
Explore Copado terminology, including environments, credentials, Git snapshot, and GitHub organization connections, and learn how these link Salesforce orgs with branches to drive DevOps pipelines.
Master Copado’s GitFlow-inspired branching with environment, feature, and promotion branches, detailing how commits move from feature to promotion and deploy through dev, UAT, and production.
Explore how Copado deploys Apex components by creating a trigger, its handler, and a test class, adding the account count field, and validating with PMD and quality gates.
Deploy Salesforce profiles with Copado by creating a profile, setting object and field permissions for my projects and project task, and committing changes through phased steps.
Learn how to commit and deploy permission sets and profiles in Salesforce DevSecOps using nested components, handling scenarios from creating new permission sets to updating and deleting.
Incrementally add phone and rating field permissions on account to an existing permission set and deploy from dev to integration using retrieve-only updates and careful branching.
Rename the permission set label from project tracker to project tracker permissions, create a user story, edit properties, commit changes on the correct feature branch, api name remains unchanged.
Delete a permission set from integration to production in scenario four by creating a new user story, deleting metadata, committing changes, changing the base branch, and deploying with verification.
Perform destructive changes in Copado for components available to production, deleting a field, refreshing metadata, committing changes, and promoting through integration to production while updating base layout references.
Apply destructive changes in Copado scenario 2 to delete new account date field from the account object across environments, using the correct feature and base branches and user stories.
Bundle multiple user stories into a promotion and deploy together from integration to UAT and production using Copado promotions and SPF pipeline manager, marking ready to promote and validating changes.
Define and manage pre- and post-deployment steps in Copado, using manual tasks and execution order to guide promotions through promotion records until completion.
Automate post deployment steps with Apex to deploy a brand-new permission set named account preference feature to the UAT environment and auto-assign it to target users.
Deploy custom setting records across environments using Copado, including creating deployment tasks and retrieving records. Manage organization and profile level configs and handle post-deployment issues to ensure promotion to UAT.
Create and activate data templates in Copado to deploy object data, define which fields to copy, and map accounts and contacts across environments using data schema and external IDs.
Learn how to create data sets from templates, generate data from source credentials, and deploy records with Copado using data templates and commit data for reliable deployments.
Learn how to enable and use Copado rollback to revert deployments, including setting system properties, enabling rollback per environment, and creating rollback promotions.
Explore how Copado environment variables act as dynamic placeholders to replace values like org URL and admin username or custom labels during deployment across dev, UAT, and production.
Configure environment variables in Copado's source format pipelines with a one-line, comma-separated pattern for apex classes, custom labels, and environment-specific values (dev1, uat, production).
Explore global find and replace rules in Copado, using yaml to define regex patterns and runtime replacements. Learn to structure the regex library and rules for environment-specific deployments.
Explore Copado global find and replace use cases, including environment-specific data sanitization, API version standardization, and permission cleanup, demonstrated via sample file rules at pipeline and environment levels.
Explore back promotion in Copado, moving changes from higher to lower Salesforce environments—such as from uat to dev1 or production to uat—via promotion records and the SFP pipeline manager.
Copado automation rules enable forward promotions from dev to UAT when a user story is ready for testing and the ready to promote checkbox is checked, including back promotions.
Explore how Salesforce CLI enables source-driven development with git as the source of truth, deploying and retrieving metadata via sf project deploy start and retrieve start for ci/cd pipelines.
Install and manage the Salesforce CLI via official downloads or npm, verify versions, update regularly, and explore the sf project structure, agent force dx, and testing workflows.
Verify the CLI with sf-version and sf-update-stable or npm update --global, then create a Salesforce DX project with sf project generate, specifying name, template, manifest, API version, and LWC language.
Explore a VS Code based Salesforce devops project, examining the .sfdx settings, scratch org definition, manifest files, and TypeScript source in SRC.
Connect your Salesforce org to the project via the CLI by logging in with sf org login, set the target org, and open it with sf org open.
Set up VS Code for Salesforce development by installing the Salesforce extension pack, JDK 21+, and Salesforce CLI; create a manifest project and authorize an org.
Create Apex classes and triggers, test classes, and lightning web components with sf cli using core commands, specifying output directories and templates for Apex, LWC, and Aura.
Learn to create custom objects, fields, platform events, and tabs with Salesforce CLI using sf schema generate, including object labeling, API names, descriptions, and default feature and sharing model settings.
Learn to use sf project deploy commands—preview, validate, and quick deploy—to compare local vs org, manage conflicts with forceignore, and deploy specific metadata via the metadata flag.
Use a manifest file and package.xml to deploy multiple components—apex classes, objects, fields, and permission sets—via sf project deploy start with the manifest path.
Learn to connect your local VS Code project with a Salesforce sandbox and use sf project retrieve preview to selectively pull permission sets and components while handling conflicts.
Use the sf cli to retrieve metadata from your Salesforce org with a manifest file or a specific package name, pulling apex classes and permission sets into your project.
Explore the Salesforce CLI data command to query and search data, and perform create, delete, update, upsert, import, and export across target orgs with CSV or JSON output.
Export and import data with sf-data-export and sf-data-import in sf cli, using tree and bulk modes, plan files, and prefixes to migrate accounts and contacts between sandboxes.
Leverage the sf cli bulk API to export and import data, choosing CSV or JSON outputs, referencing query files, and polling asynchronous job status with a job ID.
Learn the JWT bearer flow for server-to-server Salesforce authentication with no user interaction, generating private keys and certificates with OpenSSL to obtain an access token via an external client application.
Create and configure an external client app in Salesforce for JWT bearer flow, enabling API access, offline access, and admin-approved access via profiles and permission sets.
Learn to authenticate a Salesforce org using the jwt bearer flow with the sf cli, including key file, client ID, username, and instance URL, and diagnose common jwt errors.
In this video, you will learn the following commands
sf org display --target-org YOUR_ORG_NAME --verbose
sf org auth show-sfdx-auth-url --target-org YOUR_ORG_NAME
sf org auth show-access-token --target-org YOUR_ORG_NAME
Learn to authenticate Salesforce in ci/cd workflows using an sfdx-url file with the sf cli, generating and using a saved auth URL for nonredirect login.
Learn to run Apex scripts with the sf cli, executing files like scripts/apex/hello.apex using sf-apex run --file against a target org, and manage permission sets via assign-perm.apex in CI pipelines.
Learn to assign permission sets using the Salesforce command line interface with sf org assign perm set, specifying the target org, permission sets, and on behalf of users.
Discover how to run targeted Salesforce test cases during deployment with sf cli, using test level options such as run local, run specified, and run relevant tests.
Explore how a Salesforce dev hub org creates and manages scratch orgs for source-driven development and second generation packages using Salesforce CLI, VS Code, and GitHub as source of truth.
Enable dev hub and prepare a scratch org definition. Create, open, and deploy to a scratch org with sf org create scratch, mindful of six a day and three active.
Learn to manage scratch orgs using Salesforce CLI: generate passwords with sforg (specify length and complexity), display usernames, and delete scratch orgs, while viewing active scratch orgs in dev hub.
Learn how string replacement in Salesforce CLI dynamically substitutes values during deployment, using file-specific or glob patterns, environment variables, and reduces post deployment steps for credentials, labels, and profiles.
Explore dynamic string replacements during Salesforce deployments in devsecops workflows using sfdxproject.json and environment variables, deploy with sf deploy, and update apex classes and name credentials with file-based api-version values.
Manage multi-environment deployments by using .env files per environment, sourcing variables, and dynamic string replacement with sf cli, while safeguarding secrets in CI/CD pipelines.
Automate scratch org setup by creating the scratch org, deploying changes, assigning permission sets, and performing data and post-deployment steps with a single script.
Retrieve the entire Salesforce metadata in batches with a shell script using a manifest full package xml and target org, enabling scalable ci/cd metadata management.
Understand GitHub Actions, an event-driven continuous integration and deployment platform for Salesforce CI/CD that automates builds, tests, and deployments via workflows.
Identify and apply the five core concepts of GitHub Actions: workflow files, events, jobs, steps, and actions, to design and automate pipelines with triggers like pushes, PRs, and comments.
Understand the anatomy of GitHub Actions workflows, including YAML structure, indentation, workflow names, event triggers, jobs, runs on, steps, and reusable actions.
Explore over 35 GitHub Actions event types to trigger your Salesforce DevSecOps pipelines, including push, pull request, workflow dispatch, schedule, release, and more, with practical path-based filters.
Create your first GitHub actions workflow by forking the repo, adding .github/workflows/ci.yaml, and configuring a Ubuntu latest CI pipeline with build and validate steps and simple echo commands.
Build a Salesforce devops pipeline with GitHub Actions by installing Salesforce CLI and code analyzer, authenticating to a Salesforce org, and defining a feature-branch workflow in a Salesforce yaml file.
Deploy code to a Salesforce org with sf project deploy start using the source directory and target org alias, then assign onboarding manager permission set to the trialprod.org user.
Integrate Salesforce code analyzer in GitHub Actions to run static code analysis, automate CI/CD, and generate results artifacts for Apex and Lightning Web Components.
Configure the code analyzer in the pipeline to fail on critical or high violations using V2 outputs like exit code and violation counts, leveraging Salesforce PMD rules to control failures.
Discover how GitHub Actions contexts expose workflow run metadata, including event, repository, owner, SHA, environment, secrets, and the jobs and steps, via the ${{ ... }} syntax and to JSON.
Define and access environment variables across workflow, job, and step scopes in GitHub Actions using env keys and $env.variable, with node, java, python, and Salesforce CLI examples.
Learn to define and read GitHub actions environment variables at organization, repository, and environment levels, and apply precedence: step over job over workflow in production deployments.
Explore GitHub secrets at organization, environment, and repository levels with precedence, and learn to create, reference, and safely use secrets in workflows using env variables.
Resolve GitHub secret authentication issues by using a valid tmp or runner temp folder for the SFDX auth URL and storing it in the SFDX_AUTH_FILE_PATH secret.
Define and manage environment and organization level secrets in GitHub Actions, using consistent variable names across UAT and production environments to power reusable pipelines.
Learn when to use environment variables versus secrets in ci/cd pipelines, including public urls, file paths, booleans, and sensitive data like api keys and passwords, with rotation guidance.
Learn to optimize Salesforce DevSecOps pipelines by adding path and branch filters in GitHub workflows, ensuring pipelines run only for changes in the force app folder and chosen branches.
Learn how to trigger a GitHub workflow on pull request events, applying branch filters (main, UAT) and pull request types, and test pipelines from feature to UAT before merging.
Learn how to trigger GitHub Actions workflows manually using workflow dispatch, configure environments, branches, and secrets, and run pipelines via a pull request to enable manual execution.
Define and pass inputs for a manual workflow dispatch to tailor environment, runner, and test options; access inputs via github.event.inputs and run from the main branch.
Enable JWT-based authentication with Salesforce by generating a certificate via OpenSSL, creating a connected external app, and configuring environment-specific secrets to securely log in from pipelines.
Generate a unique key and IV with OpenSSL, encrypt server.key to a file, and decrypt it via the pipeline using the same key and IV, with distinct passwords per environment.
Configure GitHub environment secrets and variables for each environment, enabling JWT-based authentication in the CI/CD pipeline, decrypting keys, and securely deploying Salesforce components.
create environment-specific pipelines by duplicating and tailoring yaml workflows for dev, uat, and production, using environment secrets and triggers for push and pull requests.
Learn to design a reusable GitHub Actions workflow that centralizes common ci/cd steps for Salesforce environments, enabling dynamic environment selection, secrets handling, and Slack, GitHub APIs, Teams integrations.
Learn to implement a reusable GitHub Actions workflow that calls a central template, passes environment and runner inputs, and deploys to multiple Salesforce environments via push and pull requests.
Learn to set up a GitHub pull request template that dynamically selects Apex test classes for Salesforce deployments, speeding up delivery by running only the specified tests.
Configure the PR workflow to read the pull request body, extract Apex test classes via a Python script, and deploy on PR merge to the UAT environment.
Learn how to read dynamic Apex test data from a PR body using a Python script, trigger GitHub Actions, and deploy with conditional test labels in Salesforce DevSecOps workflows.
Fix the GitHub actions pipeline by validating sf_uat.yml pull request triggers (opened, closed, synchronized) and double asterisk paths. Then raise a PR to UAT to confirm the checks and deployment.
Discover delta deployment in salesforce devsecops, install the sfdx git delta plugin, generate delta files between commits, configure sgdignore, and integrate delta packaging into ci/cd pipelines.
Implement delta deployment in a GitHub workflow by generating a delta package from head to head minus one, storing it in a delta folder, and deploying changed components only.
Modify the delta deployment pipeline to validate on pull requests and deploy after merge, using dry-run validation, duplicated steps, and GitHub context to gate actions.
Enforce code coverage before deployment by validating with a dry run and failing the pipeline if thresholds like 82% or 85% aren’t met, with results in deploy_result.json analyzed by code_coverage.py.
Diagnoses a dashboard validation error blocking 82% code coverage in a Salesforce pipeline, and explains fixes to owner and run-as user to restore coverage.
Trigger pipelines and validations via pull requests, then deploy after merge; use a deployment ID for quick deploy, and distinguish code components from configuration components for deployment and code coverage.
Create environment specific deployment pipelines by separating pre-validate and deploy workflows, using pull request and push triggers, and tailoring pipelines for UAT, staging, and production.
Create and configure a Slack app, enable incoming webhooks, and post GitHub action pipeline notifications to a channel via webhook URL or curl, using block kit builder for rich messages.
Learn to integrate Slack with GitHub actions using the official Slack action, configure the webhook URL as a repository secret, and route notifications for sandbox and production deployments.
Enhance Slack integration in a GitHub actions pipeline by posting status updates via a curl post to a Slack webhook, using dynamic emojis, attachments, and secrets to convey job results.
Integrate SonarCloud with GitHub actions to perform static code analysis for Salesforce projects. Sign up to sonarcloud.io, authorize GitHub, and add a SonarCloud scan step in your workflow.
Post the deployment validation id as a PR comment to streamline Salesforce CI/CD validation with GitHub Actions, deleting old comments for a fresh deployment id.
Post the validation ID as a PR comment and read the PR body to extract the deployment ID, updating environment triggers and permissions to ensure successful validation and deployment.
Read the validation id from the merged pull request comment and perform a quick deployment to the Salesforce org using project deploy quick; if missing, fall back to deployment steps.
Learn to manage destructive changes in Salesforce deployments using GitHub Actions and the Delta plugin, including pre and post destructive changes and empty package.xml in a root folder.
Identify why validation reports success despite errors by examining how deploy_result.json stores outcomes, and implement either enhanced code coverage checks in code coverage.py or use pipefail to fail on errors.
Explore string replacement for dynamic deployment in Salesforce, using sfdxproject.json replacements and environment variables. Configure environment files, conditional deployments, and versioned values across dev, uat, staging, and prod.
Learn to generate the delta with a custom script, such as sf_delta.py, using Python or other scripts, configuring prefixes, bundles, and folders to mirror the plugin's delta output.
Explore self-hosted runners in GitHub Actions to overcome IP range access issues, set up on local or cloud infrastructure, and switch pipelines to self-hosted at repository or organization level.
Learn to integrate Claude as a PR reviewer in GitHub actions, triggering on PR comments, using cloud AI and entropic credits with API keys and repository secrets.
Build a strong foundation in Salesforce DevSecOps by learning how modern teams automate deployments, improve release quality, and implement secure CI/CD practices in real-world Salesforce projects. This course is designed for Salesforce Developers, Administrators, Technical Leads, Architects, and DevOps Engineers who want to streamline their development and deployment lifecycle using industry-standard tools and processes.
The course covers practical implementation of Salesforce DevSecOps concepts using GitHub Actions and Copado while focusing on automation, version control, release management, validation processes, and secure deployment strategies. You will learn how to manage Salesforce metadata efficiently, create automated pipelines, handle branching strategies, validate deployments, and improve collaboration across development teams.
Through step-by-step demonstrations and real-world scenarios, you will understand how to build scalable CI/CD workflows for Salesforce projects. The course also explains best practices for source-driven development, deployment governance, environment management, code quality checks, and reducing manual deployment efforts.
Topics covered in this course include:
Salesforce DevSecOps Fundamentals
Git & Version Control for Salesforce
GitHub Actions for Salesforce Automation
Copado Pipelines & Release Management
CI/CD Workflow Implementation
Deployment Validation Strategies
Branching & Merge Best Practices
Secure Release Processes
Environment & Sandbox Management
Automated Testing & Quality Checks
This course focuses on practical learning with hands-on examples, helping you gain the confidence to implement DevSecOps practices in enterprise Salesforce environments.