CI: fix dependencies for deployment to WordPress.org #93
3 changed files with 14 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue