Skip to content

Commit

Permalink
update assets workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kilbot committed Mar 20, 2024
1 parent 8e6a005 commit 2d9667f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 19 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/sync-wporg-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Sync assets with wordpress.org

on:
push:
paths:
- 'readme.txt'
- '.wordpress-org/**'

jobs:
run:
Expand All @@ -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 }}
38 changes: 19 additions & 19 deletions .wordpress-org/blueprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
{
Expand Down

0 comments on commit 2d9667f

Please sign in to comment.