website logo
Sign Up PricingApp Templates
⌘K
⏰Changelog
📚Ready-to-use Templates
Strapi Serverless
Medusa Server
Appwrite
SPA on CloudFront
Amazon EKS
Node.js
n8n Workflow Automation
Next.js
🚀Getting started
Create an account in Microtica
Create an application from template
Import an existing application
Scaling Applications in Microtica
Assign a Custom Domain
🔄Integrated CI/CD
Manual deployments
Automated deployments
Deploy from multiple Git branches
Pipeline Notifications
Deployment Insights
đŸšĻPipelines
Pipeline Syntax
Steps
Stages
Artifacts
Variables
â†Šī¸Automated Rollbacks
💰Cloud Cost Optimization
Cost Reports
Cost Dashboard
Automated Saving Schedules
🔗Integrations
Connect an AWS account
Connect an Existing Kubernetes Cluster
Connect a Container Registry
🤖Migrate to Microtica
Migrate from Heroku to AWS
âš™ī¸Project Settings
Manage teammates
Manage pricing plan and billing
Docs powered by
Archbee
Integrated CI/CD

Automated deployments

11min

Microtica enables seamless automated deployments by triggering CI/CD pipelines automatically when you push your code changes to a Git repository. With Microtica, you can specify the branch or tag to trigger the deployment, configure the repository and connect it with the desired cloud environment, and effortlessly automate the entire deployment process.

Prerequisites

Before setting up automated deployments in Microtica, ensure you have the following prerequisites:

  • A Microtica account.
  • A Git repository containing your application code.
  • Access to the cloud environment where you want to deploy your application (AWS).

Step-by-Step Guide for Automated Deployments

Follow these steps to configure automated deployments in Microtica:

Step 1: Configure Automated deployments in the UI

  1. Log in to your Microtica account and navigate to the Environment where your app is deployed.
  2. In the Apps tab, select the application you want to configure and navigate to App Settings.
  3. Click on Git on the left panel to review your Git settings: repo, branch/tag setup, and pipeline variables.
  4. By checking the Deploy on every commit or tag pushed to a branch you'll enable the automated trigger.
  5. Click the Save button in the right corner to save your changes.
Microtica pipelines
īģŋ

Step 2: Defining the Deployment Pipeline

In Microtica, you define your deployment pipeline using the microtica.yaml file. This file serves as the blueprint for your software delivery process, specifying the build, test, and deployment steps required for your application.

īģŋRefer to the dedicated documentation page and subpages for a comprehensive guide on creating and configuring your pipelineīģŋ.These resources provide detailed explanations and examples to help you define your deployment pipeline precisely.

Step 3: Save and Activate the Pipeline

  1. Review the pipeline configuration and ensure all settings are accurate in the microtica.yaml file.
  2. Commit and push your changes to the configured branch or tag in the selected Git repository.
  3. This will activate the pipeline and execute the defined steps.

Step 4: Monitor the Deployment Progress

  1. Navigate to the Pipeline tab in the application view.
  2. Locate and click on the pipeline you created to monitor its progress.
  3. You will receive in-app notifications and updates on the deployment status as it progresses through the pipeline stages.
pipeline details
īģŋ

Video Guide for Automated Deployments

Take a look at this video of a scenario deploying automatically from the master branch and another feature branch.

<div style="position: relative; padding-bottom: 62.5%; height: 0;"><iframe src="https://www.loom.com/embed/f59cf78251f74984947ea78f8ce79023?sid=ebe02c40-abbf-43b6-94a9-9fc88c270ea0" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div>
īģŋ

🎊 Congratulations

You have successfully set up automated deployments with Microtica. From now on, whenever you push code changes to the configured branch or tag in your Git repository, Microtica will automatically trigger the CI/CD pipeline, ensuring seamless and efficient deployments to your desired cloud environment.

Microtica provides additional configuration options and advanced features to enhance your automated deployment workflows, such as environment-specific variables, and integrations with external tools. Refer to the Microtica documentation for detailed instructions and explore these features to optimize your deployments further.

īģŋ

Updated 07 Jul 2023
Did this page help you?
PREVIOUS
Manual deployments
NEXT
Deploy from multiple Git branches
Docs powered by
Archbee
TABLE OF CONTENTS
Prerequisites
Step-by-Step Guide for Automated Deployments
Step 1: Configure Automated deployments in the UI
Step 2: Defining the Deployment Pipeline
Step 3: Save and Activate the Pipeline
Step 4: Monitor the Deployment Progress
Video Guide for Automated Deployments
🎊 Congratulations
Docs powered by
Archbee