Skip to content

Commit 8688bff

Browse files
committed
Add WordPress.org asset update workflow
1 parent b9abf91 commit 8688bff

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.github/workflows/assets.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Update WordPress.org assets
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths:
8+
- '.wordpress-org/**'
9+
- 'readme.txt'
10+
11+
jobs:
12+
assets:
13+
name: Push asset/readme updates
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: WordPress.org plugin asset/readme update
20+
uses: 10up/action-wordpress-plugin-asset-update@stable
21+
env:
22+
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
23+
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
24+
IGNORE_OTHER_FILES: true

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: New tag
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@master
11+
- uses: actions/checkout@v4
1212
- name: Build
1313
run: |
1414
npm install @wordpress/scripts --save-dev --save-exact @wordpress/scripts

0 commit comments

Comments
 (0)