npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@orange-soft/strapi-deployment-trigger

v1.2.0

Published

Strapi v5 plugin to trigger GitHub Actions workflow deployments from the admin panel

Readme

Strapi Plugin: Deployment Trigger

A Strapi v5 plugin that allows you to trigger deployments directly from the Strapi admin panel. Supports both GitHub Actions and Vercel deployments.

Features

  • Trigger GitHub Actions workflow_dispatch events from the admin UI
  • Trigger Vercel deployments via deploy hooks
  • Configure multiple deployment targets (e.g., Production, Staging)
  • Support for different trigger types per target
  • Secure token storage in database
  • Token masking for security
  • Direct link to GitHub Actions to monitor deployment progress

Requirements

  • Strapi v5.x
  • Node.js >= 18.x
  • A GitHub repository with a workflow that supports workflow_dispatch

Installation

npm install @orange-soft/strapi-deployment-trigger
# or
yarn add @orange-soft/strapi-deployment-trigger

Configuration

1. Enable the plugin

Add the plugin to your config/plugins.ts (or config/plugins.js):

export default () => ({
  'deployment-trigger': {
    enabled: true,
  },
});

2. Configure via Admin UI

  1. Go to Plugins > Deployment Trigger > Settings in your Strapi admin
  2. For GitHub targets:
    • Enter your GitHub repository URL (e.g., https://github.com/owner/repo)
    • Enter your GitHub Personal Access Token
    • Add a target with type "GitHub", workflow filename, and branch
  3. For Vercel targets:
    • Add a target with type "Vercel" and paste your deploy hook URL

All settings including tokens are stored securely in the Strapi database.

GitHub Token Setup

You need a GitHub Fine-grained Personal Access Token with the following permissions:

  1. Go to GitHub > Settings > Developer settings > Personal access tokens > Fine-grained tokens
  2. Click "Generate new token"
  3. Set token name and expiration
  4. Select the target repository under "Repository access"
  5. Under "Repository permissions", set Actions to "Read and write"
  6. Click "Generate token"

GitHub Workflow Setup

Your workflow file (e.g., .github/workflows/deploy.yml) must include the workflow_dispatch trigger:

name: Deploy

on:
  workflow_dispatch:

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      # ... your deployment steps

Vercel Deploy Hook Setup

To trigger Vercel deployments, you need to create a Deploy Hook:

  1. Go to your Vercel project dashboard
  2. Navigate to Settings > Git
  3. Scroll down to Deploy Hooks
  4. Click Create Hook
  5. Enter a name (e.g., "Strapi Trigger") and select the branch
  6. Click Create Hook
  7. Copy the generated webhook URL (starts with https://api.vercel.com/v1/integrations/deploy/...)
  8. Paste this URL when adding a Vercel target in the plugin settings

Usage

  1. Navigate to Plugins > Deployment Trigger > Settings in your Strapi admin
  2. For GitHub targets: Configure repository URL and GitHub token
  3. Add deployment targets:
    • GitHub: Select type "GitHub", enter name, workflow file, and branch
    • Vercel: Select type "Vercel", enter name and webhook URL
  4. Go to the main Deployment Trigger page
  5. Click Trigger on any configured target
  6. For GitHub targets, click the provided link to monitor progress in GitHub Actions

API

The plugin exposes the following admin API endpoints:

| Method | Endpoint | Description | |--------|----------|-------------| | GET | /deployment-trigger/settings | Get current settings | | PUT | /deployment-trigger/settings | Update settings | | GET | /deployment-trigger/status | Get configuration status | | POST | /deployment-trigger/trigger | Trigger deployment |

License

MIT

Author

Justin Moh [email protected]

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.