- 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.
- A GitHub repository containing flow files inside the
lamatic/flows/directory. - Lamatic API credentials with permissions to update and deploy flows:
LAMATIC_PROJECT_ENDPOINTLAMATIC_PROJECT_API_KEYLAMATIC_PROJECT_IDLAMATIC_AUTO_DEPLOY_PROJECT(optional flag to trigger auto deployment)
- 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 }}
| 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 |
To use a specific version, reference it in your workflow like so:
- uses: Lamatic/sync-flows-to-lamatic@v1.0.1