Merge pull request #167 from 10up/bump/wp-version #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update asset/readme on WordPress.org | |
on: | |
push: | |
branches: | |
- trunk | |
jobs: | |
trunk: | |
name: Push to trunk | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup node version | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Build | |
run: | | |
npm run build-release | |
- 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: ad-refresh-control |