Deployments
Deployment Options
Ptah.sh offers multiple ways to deploy your services. Choose the method that best fits your workflow:
- GitHub Actions
- Raw HTTP API
Use GitHub Action
What is GitHub Actions?
GitHub Actions is a powerful automation tool integrated directly into GitHub repositories. It allows you to create custom workflows that can automatically build, test, and deploy your code. These workflows are triggered by specific events in your repository, such as pushing code, creating a pull request, or releasing a new version. GitHub Actions makes it easy to implement continuous integration and continuous deployment (CI/CD) practices, helping you automate your software development lifecycle.
We provide an official GitHub Action for seamless deployments. You can find it in the GitHub Actions Marketplace:
Use the action in your workflow
For an example of a complete workflow, see the example workflow.
Use Raw HTTP API
You can use our HTTP API to deploy your service if you want more flexibility or integration with other CI/CD tools.
The structure of the request is the same as the one used by the GitHub Action.