From 9f3fe0581d0949c8048364ec9b20a687d631b418 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Tue, 31 Dec 2024 11:48:59 +0100 Subject: [PATCH] CI: fix dependencies for deployment to WordPress.org (#93) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-on: https://code.event-federation.eu/Event-Federation/wordpress-event-bridge-for-activitypub/pulls/93 Co-authored-by: André Menrath Co-committed-by: André Menrath --- .forgejo/workflows/assets.yml | 6 ++++++ .forgejo/workflows/deploy.yml | 8 +++++++- templates/welcome.php | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/assets.yml b/.forgejo/workflows/assets.yml index b278404..2541206 100644 --- a/.forgejo/workflows/assets.yml +++ b/.forgejo/workflows/assets.yml @@ -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: diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 01aa83d..55e9192 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -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: diff --git a/templates/welcome.php b/templates/welcome.php index 5d6ee0f..7134c7e 100644 --- a/templates/welcome.php +++ b/templates/welcome.php @@ -45,8 +45,8 @@ WP_Filesystem(); ⚠' . \wp_kses( $notice, General_Admin_Notices::ALLOWED_HTML ) . '

'; } - echo '

⚠' . \wp_kses( $notice, General_Admin_Notices::ALLOWED_HTML ) . '

'; ?>

get_plugin_name() ); ?>: