{"ref":"content:using-github-actions-to-deploy-a-cap-app-mta","page":"/content/using-github-actions-to-deploy-a-cap-app-mta","json":"/content/using-github-actions-to-deploy-a-cap-app-mta.json","generated":"2026-10-27","drafted_with_ai":true,"entity":{"id":"using-github-actions-to-deploy-a-cap-app-mta","title":"Using Github Actions to Deploy a CAP App (MTA)","url":"https://community.sap.com/t5/application-development-and-automation-blog-posts/using-github-actions-to-deploy-a-cap-app-mta/ba-p/13804025","content_type":"blog","published_on":"source:sap-community","explains":["capability:deployment"],"summary":"Walks through a GitHub Actions workflow that deploys a CAP project's MTA to SAP BTP, Cloud Foundry: secrets and variables for the BTP credentials, a `push`-triggered job that checks out the repository, installs Node.js, runs `npx mbt build` and then `cf deploy` against the target org and space, plus an optional test job and a note on reusable workflow templates. Written because [capire](https://cap.cloud.sap/docs/guides/deploy/ci-cd)'s own CI/CD guide is Docker-based and the linked sample is marked broken, so this fills the gap with the plain `cds add mta` / `mbt build` / `cf deploy` sequence driven by a pipeline instead of a terminal. That sequence is exactly what `cds up`, beta since @sap/cds-dk 8.9.0 (March 2025), now runs as one command, so the pipeline mechanics still hold but the three manual build-and-deploy steps it scripts are no longer the only way there.","author":"Christopher_Ketzler","published":"2024-08-26","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cloud-foundry-tag"}],"first_seen":"2026-10-26"},"drafted_with_ai":true},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"fair","evidence":"published 26 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2024-08-26"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":null,"unit":"views"},{"value":null,"unit":"comments"},{"value":null,"unit":"likes"}]},"signals":null,"series":null,"edges":{"authors":[]}}