diff --git a/.github/workflows/push-to-deploy.yml b/.github/workflows/push-to-deploy.yml index bb638b3..74116a7 100644 --- a/.github/workflows/push-to-deploy.yml +++ b/.github/workflows/push-to-deploy.yml @@ -1,18 +1,21 @@ name: Deploy to WordPress.org on: push: - branches: - - refs/tags/* + tags: + - "*" jobs: tag: name: New tag runs-on: ubuntu-latest steps: - uses: actions/checkout@master + - name: Build + run: | + npm install + npm run build - name: WordPress Plugin Deploy uses: 10up/action-wordpress-plugin-deploy@master env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} SVN_USERNAME: ${{ secrets.SVN_USERNAME }} SLUG: read-meter