From 00e4b9fcec17315b52defecaaa6c1dfc11883305 Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Thu, 5 Sep 2024 13:40:37 +0200 Subject: [PATCH] Create deploy-to-wordpress-org.yml --- .github/workflows/deploy-to-wordpress-org.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/deploy-to-wordpress-org.yml diff --git a/.github/workflows/deploy-to-wordpress-org.yml b/.github/workflows/deploy-to-wordpress-org.yml new file mode 100644 index 0000000..81fc979 --- /dev/null +++ b/.github/workflows/deploy-to-wordpress-org.yml @@ -0,0 +1,28 @@ +name: Deploy to WordPress.org + +on: + workflow_dispatch: + inputs: + tag: + description: 'Tag to release to WordPress.org' + required: true + type: string + +jobs: + deploy: + runs-on: ubuntu-latest + + environment: + name: WordPress.org plugin directory + url: https://wordpress.org/plugins/salesfeed/ + + steps: + - name: Release + uses: pronamic/action-wordpress-plugin-release@main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + svn-username: pronamic + svn-password: ${{ secrets.SVN_PASSWORD }} + tag: ${{ inputs.tag }} + wp-slug: salesfeed