Skip to content

Commit 739fae6

Browse files
committed
Улучшено развертывание плагина: добавлено извлечение версии плагина и создание пакета с артефактами для загрузки.
1 parent 631720f commit 739fae6

2 files changed

Lines changed: 39 additions & 21 deletions

File tree

.github/workflows/DEPLOY.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,31 @@ jobs:
1717

1818
- run: mkdir -p "$HOME/.ssh"
1919
- run: echo "${{ secrets.GSS }}" > "$HOME/.ssh/key"
20-
- run: chmod 600 "$HOME/.ssh/key"
20+
- run: chmod 600 "$HOME/.ssh/key" - name: Extract plugin version
21+
id: get_version
22+
run: |
23+
VERSION=$(grep "Version:" dist/complete-updates-manager/complete-updates-manager.php | sed 's/.*Version:[[:space:]]*//' | tr -d '[:space:]')
24+
echo "version=$VERSION" >> $GITHUB_OUTPUT
25+
echo "Plugin version: $VERSION"
26+
27+
- name: Create plugin package
28+
run: |
29+
cd dist
30+
zip -r ../complete-updates-manager-${{ steps.get_version.outputs.version }}.zip complete-updates-manager/
31+
ls -la ../complete-updates-manager-*.zip
2132
33+
- name: Upload plugin package as artifact
34+
uses: actions/upload-artifact@v3
35+
with:
36+
name: complete-updates-manager-${{ steps.get_version.outputs.version }}
37+
path: complete-updates-manager-${{ steps.get_version.outputs.version }}.zip
38+
retention-days: 30
39+
2240
- name: Rsync files PLUGIN to APP
2341
run: |
2442
cd dist
2543
export SSHPASS=${{ secrets.SSH_PASSWORD }}
26-
rsync -e "sshpass -e ssh -p 3333 -i $HOME/.ssh/key -o StrictHostKeyChecking=no" --archive --compress --update . globus_studio_user@91.90.193.238:/var/www/globus_studio_user/data/www/app.globus.studio/wp-content/plugins/
44+
rsync -e "sshpass -e ssh -p 3333 -i $HOME/.ssh/key -o StrictHostKeyChecking=no" --archive --compress --update . ${{ secrets.DEPLOY_PATH }}
2745
2846
- name: Send success message to Telegram
2947
if: success()

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
## 📦 WP Update Manager – Disable All WordPress Updates with Full Control
22

3-
**WP Update Manager** is the ultimate solution for disabling **WordPress core, plugin, and theme updates** — including automatic checks, cronjobs, and nag notifications. Whether you're managing a high-stability site, a client installation, or a customized environment, this plugin gives you **granular control** over update behavior without touching a single line of code.
3+
Advanced tool to fully disable WordPress theme, plugin and core update checking, related cronjobs and notifications with customization options.
44

5-
### ✅ Why Use WP Update Manager?
5+
The Complete Update Manager plugin provides a robust solution to disable the WordPress update checking system. It prevents WordPress from checking for updates including cronjobs, and suppresses all update-related notifications in the admin area.
66

7-
By default, WordPress constantly checks for updates to the core, themes, and plugins. While this is useful for many sites, some scenarios demand **fixed, stable environments** — such as white-labeled projects, custom development, or legacy support.
7+
### ✅ Why Use this plugin?
88

9-
WP Update Manager disables all update mechanisms and suppresses admin notices, giving you a **cleaner dashboard**, reduced load on admin pages, and zero unexpected updates.
9+
Some scenarios demand **fixed, stable environments** — such as white-labeled projects, custom development, or legacy support.
10+
11+
This plugin disables all update mechanisms and suppresses admin notices, giving you a **cleaner dashboard**, reduced load on admin pages, and zero unexpected updates.
1012

1113
---
1214

1315
### 🧩 Key Features
1416

15-
* 🔒 **Disable WordPress Core Updates** — Avoid major version changes without your approval
16-
* 🔌 **Block Plugin Update Checks** — No more plugin update prompts
17-
* 🎨 **Prevent Theme Update Notifications** — Preserve custom themes from unintentional overwrites
18-
* 🛑 **Stop Update-Related Cron Jobs** — Reduce background update activity
19-
* 📉 **Clean Site Health Screen** — Remove update alerts from Health Check
20-
* 🔕 **Silence Notification Emails** — No more automatic update emails cluttering your inbox
21-
* 🛠 **Admin Bar Status Icon** — Quick visual cue that updates are currently disabled
22-
* ⚙️ **Configurable Settings Page** — Selectively disable updates (core, themes, plugins)
23-
* 🧭 **Optional Security Monitoring** — Stay informed about critical vulnerabilities while disabling regular updates
17+
* 🔒 **Completely disables WordPress core updates** — Avoid major version changes without your approval
18+
* 🔌 **Prevents plugin update checks and notifications** — No more plugin update prompts
19+
* 🎨 **Blocks theme update checks and notifications** — Preserve custom themes from unintentional overwrites
20+
* 🛑 **Removes update-related items from Site Health screen** — Clean Site Health interface
21+
* 📡 **Blocks update requests to WordPress API servers** — Reduce background requests
22+
* 📧 **Disables all automatic update email notifications** — No more update emails cluttering your inbox
23+
* 📊 **Includes admin bar notification showing that updates are disabled** — Quick visual status indicator
24+
* ⚙️ **Configurable settings page to customize which updates to disable** — Selectively control core, themes, plugins
25+
* 🔍 **Security monitoring option for critical updates** — Stay informed about vulnerabilities even when updates are disabled
26+
* 🔒 **Version Freeze** — Freeze WordPress core, plugin, or theme at a specific version. Updates above this version are blocked, even manual ones. Manage freeze settings in a dedicated tab on the plugin settings page
2427

2528
---
2629

27-
### ⚠️ Important Security Note
28-
29-
Disabling updates **increases the risk** of missing out on important security patches. That's why WP Update Manager includes a **Security Monitoring Mode** to help you:
30+
### ⚠️ Important Security Notice
3031

31-
* Get alerts about **critical security vulnerabilities**
32-
* Decide when to **temporarily enable updates** to patch your system safely
32+
It's *critical* to keep your WordPress theme, core and plugins up to date when not using this plugin! If you don't, your site could become **vulnerable to security issues** or performance problems.
3333

34-
Use with care — and never ignore long-term maintenance!
34+
We recommend using the security monitoring feature to stay informed about critical security updates even when regular updates are disabled. You can temporarily enable updates as needed.
3535

3636
---
3737

0 commit comments

Comments
 (0)