Skip to content

Commit

Permalink
Merge pull request #394 from lloc/wordpress-org
Browse files Browse the repository at this point in the history
Assets update action
  • Loading branch information
lloc authored Oct 17, 2024
2 parents aa47a78 + 47ca9bd commit c8c6267
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 6 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/assets-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Plugin asset/readme update
on:
push:
branches:
- trunk
jobs:
trunk:
name: Push to trunk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: WordPress.org plugin asset/readme update
uses: 10up/action-wordpress-plugin-asset-update@stable
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
26 changes: 20 additions & 6 deletions .wordpress-org/blueprints/blueprint.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"login": true,
"siteOptions": {
"blogname": "Multisite Language Switcher Demo"
"phpExtensionBundles": [
"kitchen-sink"
],
"features": {
"networking": true
},
"steps": [
{
"enableMultisite"
"step": "enableMultisite"
},
{
"installPlugin": "multisite-language-switcher"
"step": "installPlugin",
"pluginZipFile": {
"resource": "wordpress.org/plugins",
"slug": "multisite-language-switcher"
},
"options": {
"activate": true
}
},
{
"activatePlugin": "multisite-language-switcher"
"step": "wp-cli",
"command": "wp site create --slug=test"
},
{
"step": "wp-cli",
"command": "wp site create --slug=test"
}
]
}

0 comments on commit c8c6267

Please sign in to comment.