From 2d9667fa5d5d2a93084195f4d4e4e285e09d0768 Mon Sep 17 00:00:00 2001 From: Paul Kilmurray Date: Wed, 20 Mar 2024 18:24:44 +0000 Subject: [PATCH] update assets workflow --- .github/workflows/sync-wporg-assets.yml | 5 ++++ .wordpress-org/blueprint.json | 38 ++++++++++++------------- 2 files changed, 24 insertions(+), 19 deletions(-) diff --git a/.github/workflows/sync-wporg-assets.yml b/.github/workflows/sync-wporg-assets.yml index b692df1..dcc79c2 100644 --- a/.github/workflows/sync-wporg-assets.yml +++ b/.github/workflows/sync-wporg-assets.yml @@ -2,6 +2,9 @@ name: Sync assets with wordpress.org on: push: + paths: + - 'readme.txt' + - '.wordpress-org/**' jobs: run: @@ -12,5 +15,7 @@ jobs: - name: WordPress.org plugin asset/readme update uses: 10up/action-wordpress-plugin-asset-update@stable env: + SLUG: woocommerce-pos + IGNORE_OTHER_FILES: true SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} SVN_USERNAME: ${{ secrets.SVN_USERNAME }} diff --git a/.wordpress-org/blueprint.json b/.wordpress-org/blueprint.json index b3367eb..3dfa5f2 100644 --- a/.wordpress-org/blueprint.json +++ b/.wordpress-org/blueprint.json @@ -17,34 +17,34 @@ "password": "password" }, { - "step": "installPlugin", - "pluginZipFile": { - "resource": "wordpress.org/plugins", - "slug": "woocommerce" - }, - "options": { - "activate": true - } + "step": "installPlugin", + "pluginZipFile": { + "resource": "wordpress.org/plugins", + "slug": "woocommerce" + }, + "options": { + "activate": true + } }, { - "step": "installPlugin", - "pluginZipFile": { - "resource": "wordpress.org/plugins", - "slug": "woocommerce-pos" - }, - "options": { - "activate": true - } + "step": "installPlugin", + "pluginZipFile": { + "resource": "wordpress.org/plugins", + "slug": "woocommerce-pos" + }, + "options": { + "activate": true + } }, { "step": "setSiteOptions", "options": { - "permalink_structure": "/%year%/%monthnum%/%day%/%postname%/", - "woocommerce_calc_taxes": "yes" + "permalink_structure": "/%year%/%monthnum%/%day%/%postname%/", + "woocommerce_calc_taxes": "yes" } }, { - "step": "wp-cli", + "step": "wpCLI", "command": "wp wc product import wp-content/plugins/woocommerce/sample-data/sample_products.csv --user=admin" }, {