Skip to content

Allow our asset update action to be run manually and ignore other fil… #21

Allow our asset update action to be run manually and ignore other fil…

Allow our asset update action to be run manually and ignore other fil… #21

name: Plugin asset/readme update
on:
workflow_dispatch:
inputs:
ignoreOtherFiles:
description: 'Ignore other file changes'
required: true
type: boolean
default: false
push:
branches:
- trunk
jobs:
trunk:
name: Push to trunk
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: install node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Build
run: |
npm ci
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 }}