Skip to main content
Set up automated validation and deployment for your custom connectors using GitHub Actions.

Overview

The deployment pipeline is fully customizable. You can:
  • Single project: Push directly to one project on any branch
  • Multi-environment: Route branches to different projects (dev → staging → prod)
  • Custom workflows: Define your own branch strategy and approval gates
The example below shows a multi-environment setup, but adapt it to your needs.
CI/CD workflow: Edit YAML → Validate → Push → GitHub Actions → StackOne Projects (dev/staging/prod)

Repository Structure

Organize your connectors however works for your team. Example:
The connectors-template provides a pre-configured Node.js project with git hooks and AI agent instructions if you prefer a starting point.

GitHub Actions Workflow

Step 1: Add Secrets

Go to Settings → Secrets and variables → Actions and add your API key:

Step 2: Create Workflow File

Create .github/workflows/deploy.yml:

Git Hooks (Optional)

If using the connectors-template, it includes git hooks:

Local Development

Configure Profiles (Optional)

Save API keys for quick access:

Development Workflow


Testing After Deployment

Before testing in the Playground, you need a linked account:
1

Configure the Integration

Enable your custom connector in the Connector Profiles page.

Connector Profiles Guide

2

Link an Account

Create a linked account using StackOne Connect or the API.
3

Test in Playground

Go to app.stackone.com/playground, select your linked account, and test actions.
4

Iterate

Refine your connector based on test results, push updates, and repeat. Each deployment is additive, so you can continuously improve without breaking existing functionality.
Alternative: Test via CLI You can also test directly using the CLI with an account ID:
Your profile must have an API key with the appropriate credentials scope to access the linked account.

Troubleshooting

  • Check YAML indentation (2 spaces, not tabs)
  • Ensure partial files start with - not actions:
  • Verify all $ref references match file names
  • Run validation locally first
  • Verify API key secret is set correctly
  • Check the key has permissions for the target project
  • Ensure secret names match workflow file
  • Verify workflow file is in .github/workflows/
  • Check branch names match triggers
  • Ensure paths filter includes changed files

Next Steps

CLI Reference

All CLI commands

StackOne Agent

AI-powered connector generation