diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 404b19c..83326df 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,5 +1,6 @@ name: "Deploy to WordPress.org and create release on GitHub" +on: workflow_dispatch on: push: tags: @@ -16,23 +17,9 @@ jobs: composer install --no-dev --no-interaction --no-progress --optimize-autoloader - 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: fewer-tags # optional, remove if GitHub repo name matches SVN slug, including capitalization - build: - name: Create Release - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@main - - name: Create Release - id: create_release - uses: avakar/tag-and-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - draft: false - prerelease: false