wp-liveticker/.github/workflows/wordpress-plugin-asset-update.yml
Stefan Kalscheuer 4635a47ca9
All checks were successful
continuous-integration/drone/push Build is passing
ci: remove SVN setup from deployment workflows
Current action versions install subversion as required, so we do not
need to add another step.
2025-01-26 19:17:51 +01:00

30 lines
861 B
YAML

name: Plugin asset/readme update
on:
push:
branches:
- stable
jobs:
master:
name: Push to stable
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: composer
- name: Install
run: composer install --no-interaction
- name: Clean README.md
run: tail -n +7 README.md > README.md.tmp && mv README.md.tmp README.md
- name: WordPress.org plugin asset/readme update
uses: 10up/action-wordpress-plugin-asset-update@stable
env:
SLUG: stklcode-liveticker
ASSETS_DIR: assets
README_NAME: README.md
SVN_PASSWORD: ${{ secrets.WP_SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.WP_SVN_USERNAME }}