Add Bluesky to your WordPress website. Automatically share new posts to Bluesky and integrate Bluesky replies with the comments on your website.
- Clone the repository into the
wp-content/plugins
directory of your WordPress installation. - Run
npm install
to install the dependencies. - Run
npm run build
to build the plugin. - Run
composer install
to install the PHP dependencies. - Activate the plugin in the WordPress admin.
- Run
npm run start
to start the development server.
composer install --no-dev
to install the PHP dependencies.npm run build
to build the plugin.
- Run
npm run plugin-zip
to create a zip file of the plugin.
To create a new feature, make a fix, or change something else, create a new branch from main
. Once the changes are ready, create a pull request to merge the changes back into main
.
All pull requests should be properly reviewed and tested before merging. Any code merged into main
can be included in the next release at any point.
If you are working on a new feature or a larger change, consider creating a feature branch from main
. Once the feature is ready, create a pull request to merge the feature branch back into main
.
Autoblue uses the 10up/action-wordpress-plugin-deploy GitHub Action to deploy the plugin to the WordPress.org plugin repository.
To release a new version, follow these steps:
- Switch to the
main
branch and make sure all changes are merged into it. - Run
bin/release.sh <version>
to create a new release. Replace<version>
with the new version number. - Check the changelog in
readme.txt
and make changes if required. - Commit the changes and push them to the repository.
- Create a new release on GitHub with the new version number, tag, and the changelog entry.
- The GitHub Action will automatically deploy the new version to the WordPress.org plugin repository.
To update the assets (like screenshots) or readme without creating a new release (e.g. when updating the Tested up to
line), follow these steps:
- Checkout the
main
branch. - Update the assets in the
assets
directory (if required). - Update
readme.txt
with new information (if required). - Commit the changes and push them to the repository.
The changes will be automatically deployed to the WordPress.org plugin repository by the 10up/action-wordpress-plugin-asset-update GitHub Action.