Skip to content

Introduction

To automate the build and deployment process of SAP Commerce Cloud in the Public Cloud (CCv2) projects, we have created two GitHub Actions: SAP Commerce Cloud - Build and SAP Commerce Cloud - Deploy. These actions provide functionalities to perform build and deployment operations on SAP Commerce Cloud in the Public Cloud (CCv2) projects maintained in the GitHub repository.

Prerequisites

  • SAP Commerce Cloud in the Public Cloud (CCv2) project with the required configurations.
  • GitHub repository with SAP Commerce Cloud code as per the CCv2 project structure. (Refer to the Commerce Cloud Sample Setup for more details.)
  • GitHub Actions enabled in the repository.
  • Webhook URL (Slack or Microsoft Teams) to send notifications.
  • GitHub token with the required permissions.
  • SAP Commerce Cloud in the Public Cloud (CCv2) API Token.
  • SAP Commerce Cloud in the Public Cloud (CCv2) Subscription Code.

SAP Commerce Cloud - Build

This GitHub Action provides the following functionalities to perform build operations on SAP Commerce Cloud in the Public Cloud (CCv2) projects. Read more about the SAP Commerce Cloud - Build action.

  • Trigger Build: Trigger SAP Commerce Cloud build.
  • Build Notification: Sends a notification when a build is triggered in CCv2.
  • Build Status Notification: Frequently check the build status and send notifications when success or failure.
  • Retry On Failure: Retry the build creation if it fails for the maxRetries times.

SAP Commerce Cloud - Deploy

This GitHub Action provides the following functionalities to perform deployment operations on SAP Commerce Cloud in the Public Cloud (CCv2) projects. Read more about the SAP Commerce Cloud - Deploy action.

  • Trigger Deployment: Trigger SAP Commerce Cloud deployment.
  • Deployment Notification: Sends a notification when a deployment is triggered in CCv2.
  • Deployment Status Notification: Frequently check the deployment status and send notifications when success or failure.