Skip to content

Commit

Permalink
Assets update action
Browse files Browse the repository at this point in the history
  • Loading branch information
lloc committed Oct 17, 2024
1 parent b3ef492 commit 47ca9bd
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 47ca9bd

Please sign in to comment.