CI: fix dependencies for deployment to WordPress.org (#93)
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 47s
PHPUnit / PHPUnit – PHP 7.4 (push) Successful in 1m2s
PHPUnit / PHPUnit – PHP 8.0 (push) Successful in 1m3s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 1m2s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 1m5s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 1m3s
PHPUnit / PHPUnit – PHP 8.4 (push) Successful in 1m5s
Deploy to WordPress.org / New tag (push) Successful in 1m17s
Plugin asset/readme update on WordPress.org / Push assets to trunk on WordPress.org (push) Successful in 11s

Reviewed-on: #93
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
This commit is contained in:
André Menrath 2024-12-31 11:48:59 +01:00 committed by André Menrath
parent a554e52eaf
commit 9f3fe0581d
3 changed files with 14 additions and 2 deletions

View file

@ -13,6 +13,12 @@ jobs:
- name: Checkout
uses: https://code.forgejo.org/actions/checkout@v4
- name: Install and cache rsync
uses: https://github.com/awalsh128/cache-apt-pkgs-action@latest
with:
packages: rsync subversion
version: 1.0
- name: WordPress.org plugin asset/readme update
uses: https://github.com/10up/action-wordpress-plugin-asset-update@stable
env:

View file

@ -3,7 +3,7 @@ name: Deploy to WordPress.org
on:
push:
tags:
- "v*"
- "*"
jobs:
tag:
@ -13,6 +13,12 @@ jobs:
- name: Checkout
uses: https://code.forgejo.org/actions/checkout@v4
- name: Install and cache rsync
uses: https://github.com/awalsh128/cache-apt-pkgs-action@latest
with:
packages: rsync subversion
version: 1.0
- name: WordPress Plugin Deploy
uses: https://github.com/10up/action-wordpress-plugin-deploy@stable
env:

View file

@ -45,8 +45,8 @@ WP_Filesystem();
<?php
if ( empty( $active_event_plugins ) ) {
$notice = General_Admin_Notices::get_admin_notice_no_supported_event_plugin_active();
echo '<p>⚠' . \wp_kses( $notice, General_Admin_Notices::ALLOWED_HTML ) . '</p>';
}
echo '<p>⚠' . \wp_kses( $notice, General_Admin_Notices::ALLOWED_HTML ) . '</p>';
?>
<?php foreach ( $active_event_plugins as $active_event_plugin ) { ?>
<h3><?php echo esc_html( $active_event_plugin->get_plugin_name() ); ?>:</h3>