diff --git a/.github/workflows/update-asset-readme-on-wordpress-org.yml b/.github/workflows/update-asset-readme-on-wordpress-org.yml index 485b896..62b0882 100644 --- a/.github/workflows/update-asset-readme-on-wordpress-org.yml +++ b/.github/workflows/update-asset-readme-on-wordpress-org.yml @@ -1,18 +1,24 @@ name: Update asset/readme on WordPress.org + on: push: branches: - trunk + jobs: trunk: name: Push to trunk runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - name: Checkout code + uses: actions/checkout@v4 + - 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: diff --git a/.wordpress-org/blueprints/blueprint.json b/.wordpress-org/blueprints/blueprint.json new file mode 100644 index 0000000..e52cba2 --- /dev/null +++ b/.wordpress-org/blueprints/blueprint.json @@ -0,0 +1,26 @@ +{ + "$schema": "https://playground.wordpress.net/blueprint-schema.json", + "landingPage": "\/wp-admin\/admin.php?page=block-for-apple-maps", + "preferredVersions": { + "php": "7.4", + "wp": "latest" + }, + "phpExtensionBundles": ["kitchen-sink"], + "steps": [ + { + "step": "login", + "username": "admin", + "password": "password" + }, + { + "step": "installPlugin", + "pluginZipFile": { + "resource": "wordpress.org\/plugins", + "slug": "maps-block-apple" + }, + "options": { + "activate": true + } + } + ] +}