Skip to content

WpAgencyKit · Docs

WPAK-Deploy2WP

One-click deploys from GitHub with private repos and automatic rollback.

4 articles
Best Practices

Releases and versioning

  • Use SemVer for tags and releases (v1.2.3).
  • Keep a consistent changelog.
  • Publish releases with clear notes.

Security

  • Use tokens with minimum permissions.
  • Enable the repo whitelist with wpak_deploy2wp_allowed_repos.
  • Configure the webhook with a secret and HMAC signature.

Update stability

  • Include checksums (a .sha256 asset) when possible.
  • Avoid “draft” or “pre-release” releases unless needed.
  • Test updates in staging.
  • Use the Update Policy: Production = stable-only, Staging/Test = prereleases allowed.

Performance

  • Do not force checks too frequently.
  • Keep caching and rate limiting enabled.

Operations

  • Use the “System Info” page for diagnostics.
  • Check logs after each automatic update.
GitHub Personal Access Token Setup

This guide explains how to create and use a GitHub token for private repositories or higher API limits.

Recommended token (fine-grained)

  1. Go to GitHub > Settings > Developer settings > Personal access tokens.
  2. Select “Fine-grained tokens” and create a new token.
  3. Select only the required repository.
  4. Recommended minimum permissions:
  • Repository permissions: Contents: Read
  • Metadata: Read
  1. Save the token.

Classic token

  1. Go to GitHub > Settings > Developer settings > Personal access tokens.
  2. Select “Tokens (classic)” and create a new token.
  3. Minimum scope for private repos: repo.

Where to save the token

  • WordPress admin: “Global GitHub token”.
  • config.php for specific plugins:
'my-plugin' => [
    'repo' => 'username/my-plugin',
    'token' => 'ghp_xxxxx'
]

Note

  • Never share the token in public code.
  • Rotate the token periodically.
Use Cases

1. Single public plugin

Configure the plugin in config.php without a token:

'my-plugin' => [
    'repo' => 'username/my-plugin',
    'branch' => 'main'
]

2. Private plugins with a global token

Save a global token in the admin and add plugins without per-repo tokens.

3. Real-time updates via webhook

Configure the GitHub webhook and use tags to release new versions.

4. Multi-plugin with manual checks

Use the “Check updates” button for a global refresh.

5. Automatic rollback

If an update fails, the system restores the previous version from backup.

6. Staging prerelease channel

Set Site profile to Staging/Test to accept prereleases (beta/RC and other prerelease tags).

Webhook Setup

Check plugins in real time when a release is published or a tag is created on GitHub.

Endpoint

https://yourdomain.com/wp-json/wpak-deploy2wp/v1/webhook

Secret (recommended)

Set the secret in wp-config.php:

define('WPAK_DEPLOY2WP_WEBHOOK_SECRET', 'your-secret');

GitHub setup

  1. Go to the repository > Settings > Webhooks > Add webhook.
  2. Payload URL: the endpoint above.
  3. Content type: application/json.
  4. Secret: the configured secret.
  5. Events: enable Release and Create.
  6. Save.

Supported events

  • release (action published).
  • create (only tag).

Update Policy (important)

  • Production blocks all prereleases (beta/RC and other prerelease tags).
  • Staging/Test allows prereleases.
  • Notify-only will show an admin notice instead of auto-installing.

Test

  • Use the “Test” button in GitHub to send an event.
  • Check plugin logs in WordPress.
  • Verify the X-Hub-Signature-256 signature.

Login

Stop paying subscriptions for your WordPress plugins.

5 premium plugins for agencies. One payment. Yours forever.

✓ One-time payment  ·  ✓ All 5 plugins included  ·  ✓ Lifetime OTA updates 

Home

Agencies waste €546+/year on SaaS subscriptions.

Yoast €99 · TranslatePress €179 · Iubenda €89 · Git Updater €120 · JetMenu €59
= €546+ every year. Per site.

With WPAK 40-Agency Bundle  you pay €299 once. For 40 sites. Forever.

€199 · 4 sites     €299 · 40 sites      €399 · 120 sites
                 

✓ All 5 plugins  ·  ✓ Lifetime OTA updates  ·  ✓ AI BYOK — no hidden costs  ·  ✓ Staging always free 

5 plugins. Everything included.

Zero add-ons (read again)

Each plugin solves a real agency problem. No monthly fees.

ChatGPT Image 27 gen 2026, 02_41_04

WPAK-SEO

Full SEO toolkit: AI bulk meta, content audit, 404 monitor, internal-link graph, XML sitemap, technical checks. BYOK OpenAI / Anthropic. Zero markup.

Learn more →
ChatGPT Image Mar 11, 2026, 09_36_10 PM

WPAK-Translate

Unlimited AI languages with 5 providers (DeepL, OpenAI, Claude, Gemini, OpenRouter). Batch API (−50% cost). Memory, glossary, WooCommerce ready.

Learn more →
ChatGPT Image Mar 11, 2026, 08_19_52 PM

WPAK-Cookies

Self-hosted GDPR consent with 20 tracker presets, one-click site scanner and auto-generated Cookie Policy. Local consent log — no SaaS.

Learn more →
ChatGPT Image Mar 11, 2026, 02_34_24 PM

WPAK-Deploy2WP

One-click deploys from GitHub. Native private repos, MonoRepo & SingleRepo. Deployment logs included. No DevOps required.

Learn more →
ChatGPT Image 27 gen 2026, 02_44_54

WPAK-Menu-Conditions

Conditional menus & modals by role, device, or login state. Prerendered modal content, cache-aware. Zero page builder dependency.

Learn more →

WPAK vs SaaS subscriptions direct comparison

What you’re already paying every year, vs what you pay once with WPAK.

Feature WPAK Bundle €299 (once) Yoast + TranslatePress + Iubenda + Git Updater + JetMenu
Total price€299 one-time€546+/year
AI included✓ BYOK — zero hidden costs✗ Extra or not available
Translation languages✓ Unlimited✗ 1 language per licence
Private repos (deploy)✓ Native — no workarounds✗ Workaround needed
100% self-hosted GDPR✓ Local log on your server✗ Data on external SaaS
Conditional menus & modals✓ By role, device, state✗ Megamenu only — no visibility logic
Staging included✓ Always free✗ Counts as paid site
Sites covered✓ Up to 40 (Agency plan)✗ 1 site per base licence
Renewal required✓ Never✗ Every year
Savings from year 2 onwards+€546/year€0

The market moved to subscriptions.
We didn’t.

Every tool you use has turned into a monthly fee.
WPAK is the answer: buy once, own forever.

Home

Get the full bundle today

5 premium plugins. One payment. Yours forever.

✓ All 5 plugins  ·  ✓ Lifetime OTA updates  ·  ✓ Staging always free 

The market moved to subscriptions.
We didn’t.

WPAgencyKit is a Brand Product by
AEIOUY di Furlotti Davide
VAT: IT03141100341 · Parma · PR · Italy

info@wpagencykit.org

Cookie settings

Choose by category.

We only use the right cookies, we promise. The technical ones are there to make the site work as it should, the others – only if you give us the ok – to make your experience more comfortable and tailored. "We're not here to spy on you, just to remember who you are." You choose: accept all, reject or customize.

Strictly Necessary Required
These cookies are essential for the website to function properly and cannot be disabled.
Preferences
These cookies allow the website to remember choices you make and provide enhanced functionality and personalization.
Analytics
These cookies help us understand how visitors interact with the website, helping us improve our website and services.
Marketing
These cookies are used to track visitors across websites to display relevant advertisements.