Skip to content

Commit

Permalink
Fix our asset deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dkotter committed Jan 3, 2024
1 parent efd61f0 commit 26860d0
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/push-asset-readme-update.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
name: Plugin asset/readme update

on:
push:
branches:
- trunk

jobs:
trunk:
name: Push to trunk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v1
- name: Checkout code
uses: actions/checkout@v4

- name: Setup node version
uses: actions/setup-node@v4
with:
node-version: 12
node-version: 16
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:
Expand Down

0 comments on commit 26860d0

Please sign in to comment.