Sync your WordPress posts to standard.site records on your PDS
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

workflows

+76 -3
+6
.distignore
··· 1 + /.wordpress-org 2 + /.git 3 + /.github 4 + 5 + .distignore 6 + .gitignore
+33
.github/workflows/asset-update.yml
··· 1 + name: WordPress.org readme/assets update 2 + 3 + on: 4 + push: 5 + branches: 6 + - main 7 + paths: 8 + - readme.txt 9 + - .wordpress-org/** 10 + workflow_dispatch: 11 + 12 + permissions: 13 + contents: read 14 + 15 + jobs: 16 + update: 17 + name: Sync readme/assets to wp.org 18 + runs-on: ubuntu-latest 19 + 20 + steps: 21 + - name: Checkout 22 + uses: actions/checkout@v4 23 + with: 24 + fetch-depth: 0 25 + 26 + - name: WordPress.org plugin readme/assets update 27 + uses: 10up/action-wordpress-plugin-asset-update@stable 28 + env: 29 + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} 30 + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} 31 + SLUG: wireservice 32 + ASSETS_DIR: .wordpress-org 33 + IGNORE_OTHER_FILES: true
+34
.github/workflows/deploy.yml
··· 1 + name: Deploy to WordPress.org 2 + 3 + on: 4 + push: 5 + tags: 6 + - '*' 7 + workflow_dispatch: 8 + 9 + jobs: 10 + deploy: 11 + runs-on: ubuntu-latest 12 + permissions: 13 + contents: write 14 + 15 + steps: 16 + - name: Checkout 17 + uses: actions/checkout@v4 18 + 19 + - name: Deploy to WordPress.org 20 + id: wporg_deploy 21 + uses: 10up/action-wordpress-plugin-deploy@stable 22 + with: 23 + generate-zip: true 24 + env: 25 + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} 26 + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} 27 + SLUG: wireservice 28 + 29 + - name: Create GitHub release and attach ZIP 30 + if: startsWith(github.ref, 'refs/tags/') 31 + uses: softprops/action-gh-release@v2 32 + with: 33 + files: ${{ steps.wporg_deploy.outputs.zip-path }} 34 + generate_release_notes: true
+3 -3
README.txt
··· 98 98 99 99 Or with Docker: 100 100 101 - ```bash 101 + ``` 102 102 docker build -t aip . 103 103 docker run -p 8080:8080 \ 104 104 // all of the above env vars here ··· 116 116 117 117 This is stored as the `wireservice_oauth_url` option and can also be set programmatically: 118 118 119 - ```php 119 + ``` 120 120 update_option('wireservice_oauth_url', 'https://your-domain.com'); 121 121 ``` 122 122 123 123 ## Filters 124 124 125 - ```php 125 + ``` 126 126 // Customize which post types are synced (default: post, page) 127 127 add_filter('wireservice_syncable_post_types', function ($types) { 128 128 $types[] = 'custom_post_type';