Skip to content

Merge pull request #149 from 10up/feature/plugin-preview #13

Merge pull request #149 from 10up/feature/plugin-preview

Merge pull request #149 from 10up/feature/plugin-preview #13

name: Plugin asset/readme update
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
cache: npm
- name: Build
run: |
npm install
npm run build
- 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 }}