diff --git a/.github/workflows/asset-update.yaml b/.github/workflows/asset-update.yaml index e85614e..13df9dd 100644 --- a/.github/workflows/asset-update.yaml +++ b/.github/workflows/asset-update.yaml @@ -7,4 +7,6 @@ on: jobs: update: uses: sy-records/.github/.github/workflows/wordpress-plugin-asset-update.yaml@main + with: + skip_assets: false secrets: inherit diff --git a/.wordpress-org/banner-772x250.png b/.wordpress-org/banner-772x250.png new file mode 100644 index 0000000..9e82278 Binary files /dev/null and b/.wordpress-org/banner-772x250.png differ diff --git a/.wordpress-org/blueprints/blueprint.json b/.wordpress-org/blueprints/blueprint.json new file mode 100644 index 0000000..25245d1 --- /dev/null +++ b/.wordpress-org/blueprints/blueprint.json @@ -0,0 +1,27 @@ +{ + "landingPage": "/wp-admin/admin.php?page=oss-aliyun%2Faliyun-oss-wordpress.php", + "preferredVersions": { + "php": "latest", + "wp": "latest" + }, + "phpExtensionBundles": [ + "kitchen-sink" + ], + "steps": [ + { + "step": "login", + "username": "admin", + "password": "password" + }, + { + "step": "installPlugin", + "pluginZipFile": { + "resource": "wordpress.org/plugins", + "slug": "oss-aliyun" + }, + "options": { + "activate": true + } + } + ] +} \ No newline at end of file diff --git a/.wordpress-org/icon-128x128.png b/.wordpress-org/icon-128x128.png new file mode 100644 index 0000000..c669f3d Binary files /dev/null and b/.wordpress-org/icon-128x128.png differ diff --git a/screenshot-1.png b/.wordpress-org/screenshot-1.png similarity index 100% rename from screenshot-1.png rename to .wordpress-org/screenshot-1.png diff --git a/screenshot-2.png b/.wordpress-org/screenshot-2.png similarity index 100% rename from screenshot-2.png rename to .wordpress-org/screenshot-2.png diff --git a/README.md b/README.md index 5815411..b6ce3a7 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ [![plugin installs](https://img.shields.io/wordpress/plugin/installs/oss-aliyun)](https://wordpress.org/plugins/oss-aliyun/) [![Deploy to WordPress.org](https://github.com/sy-records/aliyun-oss-wordpress/actions/workflows/deploy.yml/badge.svg)](https://github.com/sy-records/aliyun-oss-wordpress/actions/workflows/deploy.yml) +> 使用 WordPress Playground 在线预览 [OSS Aliyun](https://wordpress.org/plugins/oss-aliyun/?preview=1) 插件 + ## 插件特色 - [x] 可配置是否上传缩略图和是否保留本地备份 @@ -54,6 +56,6 @@ GitHub 下载节点:[https://github.com/sy-records/aliyun-oss-wordpress/releas ## 插件截图 -![设置页面](screenshot-1.png) +![设置页面](.wordpress-org/screenshot-1.png) -![update-wordpress-posts-photos.png](screenshot-2.png) +![update-wordpress-posts-photos.png](.wordpress-org/screenshot-2.png)