Skip to content

Commit

Permalink
Merge branch 'develop' into dependabot/npm_and_yarn/sharp-and-10up-to…
Browse files Browse the repository at this point in the history
…olkit-0.32.6
  • Loading branch information
Sidsector9 committed Jan 3, 2024
2 parents 4151eb2 + 5ee3ade commit da7b0ee
Show file tree
Hide file tree
Showing 6 changed files with 8,254 additions and 6,802 deletions.
28 changes: 22 additions & 6 deletions .github/workflows/push-asset-readme-update.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,32 @@
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 }}
- name: Checkout code
uses: actions/checkout@v4

- name: Setup node version
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm

- name: Build
run: |
npm install
npm run build
composer install --no-dev
- 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 }}
33 changes: 33 additions & 0 deletions .wordpress-org/blueprints/blueprint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"landingPage": "\/wp-admin\/edit.php?post_type=page",
"preferredVersions": {
"php": "7.4",
"wp": "latest"
},
"phpExtensionBundles": ["kitchen-sink"],
"steps": [
{
"step": "login",
"username": "admin",
"password": "password"
},
{
"step": "importFile",
"file": {
"resource": "url",
"url": "https:\/\/raw.githubusercontent.com\/10up\/simple-page-ordering\/02d35c792a11be5f863c44308485e85505c48f17\/.wordpress-org\/blueprints\/demo-data.xml"
}
},
{
"step": "installPlugin",
"pluginZipFile": {
"resource": "wordpress.org\/plugins",
"slug": "simple-page-ordering"
},
"options": {
"activate": true
}
}
]
}
Loading

0 comments on commit da7b0ee

Please sign in to comment.