This document describes how to automate the release process of Dify plugins using GitHub Actions, including configuration steps, parameter descriptions, and usage methods, helping plugin developers streamline the release process without manual intervention.
manifest.yaml
file.difypkg
filedify-plugins
repositoryyour-name/plugin-source
)your-name/dify-plugins
)name
: Your plugin’s name (affects package and branch names)version
: Semantic version number (increment with each release)author
: Your GitHub username (determines repository paths)author
field in manifest.yaml
author
fieldname
field in manifest.yaml
bump-{plugin-name}-plugin-{version}
{plugin-name}-{version}.difypkg
Prepare Repositories
dify-plugins
repository and have your own plugin source repository.Configure Secret
PLUGIN_ACTION
your-name/dify-plugins
)Create Workflow File
.github/workflows/
directory in your repository, create a file named plugin-publish.yml
in this directory, and copy the following content into the file:Update manifest.yaml
dify-plugins
repositoryPLUGIN_ACTION Secret
in your plugin source repository.github/workflows/plugin-publish.yml
name
and author
fields in the manifest.yaml
file are correctly configuredversion
field in manifest.yaml
{plugin-name}-{version}.difypkg
format