Skip to content

GitHub Actions

GitHub Actions provides a flexible and powerful way to automate workflows directly within your GitHub repository. This guide explains how to use GitHub Actions to build and deploy Martini packages.

Overview

GitHub Actions allows you to define workflows in your repository that can automate the process of building and deploying Martini packages. The provided code is designed to integrate seamlessly with your repository and deploy packages with minimal configuration.

Steps to Configure GitHub Actions

  1. Access the GitHub Actions Code:
  2. The configuration code for GitHub Actions is available on Lonti's GitHub account. You can access it here. The code is public and can be referenced directly by your own GitHub Actions pipeline.

  3. Reference the Code in Your Pipeline:

  4. Clone or fork the repository from GitHub:
    1
    git clone https://github.com/LontiPlatform/github-actions.git
    
  5. Follow the instructions provided in the repository to integrate the code with your own GitHub Actions workflows. This typically involves copying the workflow files into your own repository’s .github/workflows directory.

  6. Configure Your Workflow:

  7. Modify the workflow files as needed to fit your repository and deployment requirements. This includes setting up any necessary secrets, environment variables, or build commands.

  8. Deploy Packages:

  9. Once configured, GitHub Actions will automatically build and deploy your Martini packages according to the defined workflow. Ensure that your repository’s settings and permissions are configured correctly to enable the deployment process.

Additional Resources