diff --git a/.github/workflows/deploy-on-pushing-a-new-tag.yml b/.github/workflows/deploy-on-pushing-a-new-tag.yml new file mode 100644 index 0000000..6bbc588 --- /dev/null +++ b/.github/workflows/deploy-on-pushing-a-new-tag.yml @@ -0,0 +1,20 @@ +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 + with: + dry-run: true + env: + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} + SLUG: ${{ secrets.PLUGIN_SLUG }} +