-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (24 loc) · 781 Bytes
/
Copy pathassets.yml
File metadata and controls
27 lines (24 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Update WordPress.org assets
# Syncs the plugin directory assets (icon, banner, screenshots) from
# .wordpress-org/ to the WordPress.org SVN /assets folder. These live only in
# SVN, never in the shipped plugin zip. Runs whenever .wordpress-org/ changes
# on main, or manually.
on:
push:
branches: [main]
paths:
- ".wordpress-org/**"
workflow_dispatch:
jobs:
assets:
name: Sync plugin directory assets
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Update assets on WordPress.org
uses: 10up/action-wordpress-plugin-asset-update@stable
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SLUG: captchaapi