diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a9b5090..d282b6b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: BUILD_DIR: "build" DIST_DIR_GITHUB: "dist/github" GITHUB_RELEASE_FILENAME: "ossc.zip" - PLUGIN: "ossc" + PLUGIN: "open-source-software-contributions" MAINFILE: "ossc.php" needs: [ lint ] steps: @@ -61,3 +61,15 @@ jobs: artifacts: ${{ env.ARTIFACT_PATH }} bodyFile: "changelog.txt" prerelease: ${{ env.RELEASE_TYPE }} + + + - name: Wordpress Release ⛴ + if: "!contains(github.ref, 'beta')" + id: wordpress-stable-release + env: + WORDPRESS_USERNAME : ${{ secrets.WORDPRESS_USERNAME }} + WORDPRESS_PASSWORD : ${{ secrets.WORDPRESS_PASSWORD }} + run: | + curl -LO https://raw.githubusercontent.com/bmlt-enabled/bmlt-wordpress-deploy/master/deploy-wordpress.sh + chmod +x deploy-wordpress.sh + ./deploy-wordpress.sh \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 8c53de9..071a168 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM wordpress:6.6.0-php8.3-apache +FROM wordpress:6.6.1-php8.3-apache RUN apt-get update && \ apt-get install -y --no-install-recommends ssl-cert && \ diff --git a/assets/icon-256x256.png b/assets/icon-256x256.png new file mode 100644 index 0000000..faa3321 Binary files /dev/null and b/assets/icon-256x256.png differ diff --git a/ossc.php b/ossc.php index cb7efb2..93ad14f 100644 --- a/ossc.php +++ b/ossc.php @@ -243,7 +243,7 @@ public function render_ossc( string|array $attrs = [] ): string { $table_name = $wpdb->prefix . 'ossc_github_data'; $content = '