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" }, {