Continuous Deployment
Move faster with continuous deployment
This guide helps creating a continuous deployment pipeline for your Motia project.
Before you start
Before you create your pipeline, you first need to have deployed your project to Motia Cloud. Check the Deployment page for more information.
Adding the Environment ID
After you have deployed your project to Motia Cloud, you need to add the environment ID to your pipeline. You can find the environment ID in the Motia Cloud web interface by navigating to the Environment page and clicking on the Settings tab.
Creating an API Key
When you open Motia Cloud, you should see API Keys tab. Click on the Create API Key button to create a new API Key. Copy the API Key and add it to your project as a secret. Do NOT paste the API Key content to your workflow file.
Populating Environment Variables
Add all environment variables you need on your project to repository secrets,
then make sure to update Create Env file
section in the workflow file.
Using GitHub Actions
You can use GitHub Actions to deploy your Motia project to Motia Cloud.