Skip to content

Lamatic/sync-flows-to-lamatic

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sync Flows to lamatic

GitHub Marketplace

Lamatic

📌 Features

  • Detects changed flow files in the lamatic/flows/ directory on each run.
  • Updates changed flow files via GraphQL API to the Lamatic platform.
  • Optionally deploys updated flows automatically based on input flag.
  • Outputs the list of updated flow slugs for downstream use.

🚀 Usage

Prerequisites

  • A GitHub repository containing flow files inside the lamatic/flows/ directory.
  • Lamatic API credentials with permissions to update and deploy flows:
    • LAMATIC_PROJECT_ENDPOINT
    • LAMATIC_PROJECT_API_KEY
    • LAMATIC_PROJECT_ID
    • LAMATIC_AUTO_DEPLOY_PROJECT (optional flag to trigger auto deployment)

Workflow Example

  - name: Sync Flows to lamatic
    uses: Lamatic/sync-flows-to-lamatic@v1.0.1
    with:
      lamatic-endpoint: ${{ secrets.LAMATIC_PROJECT_ENDPOINT }}
      api-key: ${{ secrets.LAMATIC_PROJECT_API_KEY }}
      project-id: ${{ secrets.LAMATIC_PROJECT_ID }}
      auto-deploy: ${{ secrets.LAMATIC_AUTO_DEPLOY_PROJECT }}

Inputs

Input Description Required
lamatic-endpoint Lamatic API endpoint URL Yes
api-key Authorization API key for Lamatic API Yes
project-id Lamatic project identifier Yes
auto-deploy Flag to control automatic deployment Yes

Versioning

To use a specific version, reference it in your workflow like so:

- uses: Lamatic/sync-flows-to-lamatic@v1.0.1

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published