feat: add GitHub-powered updates to WordPress admin
Build plugin release / release (push) Failing after 4s
Build plugin release / release (push) Failing after 4s
This commit is contained in:
@@ -2,9 +2,11 @@
|
||||
|
||||
/**
|
||||
* Plugin Name: Mahak Authenticate Bridge
|
||||
* Plugin URI: https://github.com/dabestaniha/mahak-authenticate-bridge
|
||||
* Description: Authenticate WordPress user via json web token from Mahakiha Application.
|
||||
* Version: 2.1.0
|
||||
* Version: 2.2.0
|
||||
* Requires PHP: 7.4
|
||||
* Update URI: https://github.com/dabestaniha/mahak-authenticate-bridge
|
||||
* Author: Dabestaniha
|
||||
*
|
||||
* Example: https://wordpress.test/mahak/login/?token=eyJ0...
|
||||
@@ -14,6 +16,10 @@ use Dabestaniha\AuthenticateBridge\Autoloader;
|
||||
use Dabestaniha\AuthenticateBridge\App\Http\Controllers\AuthenticateController;
|
||||
use Dabestaniha\AuthenticateBridge\App\Http\Controllers\SettingsPageMenuController;
|
||||
use Dabestaniha\AuthenticateBridge\App\Http\Controllers\SettingsPageFormController;
|
||||
use Dabestaniha\AuthenticateBridge\App\Support\PluginUpdater;
|
||||
|
||||
define('MAHAK_AUTHENTICATE_BRIDGE_VERSION', '2.2.0');
|
||||
define('MAHAK_AUTHENTICATE_BRIDGE_FILE', __FILE__);
|
||||
|
||||
require_once __DIR__.'/src/Autoloader.php';
|
||||
|
||||
@@ -24,6 +30,8 @@ Autoloader::register([
|
||||
|
||||
require_once __DIR__.'/src/helpers.php';
|
||||
|
||||
PluginUpdater::boot();
|
||||
|
||||
add_action('init', fn() => AuthenticateController::resolve());
|
||||
|
||||
add_action('admin_menu', fn() => SettingsPageMenuController::resolve());
|
||||
|
||||
Reference in New Issue
Block a user