diff --git a/.github/workflows/plugin-deploy.yml b/.github/workflows/plugin-deploy.yml new file mode 100644 index 0000000..8aad7df --- /dev/null +++ b/.github/workflows/plugin-deploy.yml @@ -0,0 +1,17 @@ +name: Deploy to WordPress.org +on: + push: + tags: + - "*" +jobs: + tag: + name: New tag + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: WordPress Plugin Deploy + uses: 10up/action-wordpress-plugin-deploy@stable + env: + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} + SLUG: wonder-cache \ No newline at end of file diff --git a/.github/workflows/plugin-update.yml b/.github/workflows/plugin-update.yml new file mode 100644 index 0000000..f602725 --- /dev/null +++ b/.github/workflows/plugin-update.yml @@ -0,0 +1,17 @@ +name: Plugin asset/readme update +on: + push: + branches: + - master +jobs: + master: + name: Push to master + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: WordPress.org plugin asset/readme update + uses: 10up/action-wordpress-plugin-asset-update@stable + env: + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} + SLUG: wonder-cache