Skip to main content

Workflow Setup

Learn how to configure and customize your GitHub Actions workflow for Figma plugin deployment.

Basic Workflow

The basic workflow configuration looks like this:

Advanced Configuration

Custom Trigger Events

You can customize when the workflow runs:

Release Notes from Commit Messages

Use git commit messages for release notes:

Build Steps

If your plugin requires building:

Environment Variables

You can use different environments for staging and production:

Best Practices

  1. Version Control
    • Use semantic versioning for your releases
    • Tag your releases with version numbers
    • Include meaningful commit messages
  2. Security
    • Use environment secrets for sensitive data
    • Limit workflow permissions to necessary actions
    • Review workflow logs for sensitive information
  3. Maintenance
    • Keep action versions up to date
    • Document workflow configurations
    • Test workflow changes in a staging environment

Troubleshooting

Common Issues

  • Check branch name matches workflow configuration - Verify workflow file is in correct location - Ensure repository has workflow permissions enabled
  • Check build script configuration - Verify all dependencies are installed - Review build logs for errors
  • Verify plugin and team IDs are correct - Check authentication credentials
  • Review deployment logs for specific errors

Next Step

Learn about security best practices for your deployment workflow