All checks were successful
continuous-integration/drone/push Build is passing
Current action versions install subversion as required, so we do not need to add another step.
30 lines
802 B
YAML
30 lines
802 B
YAML
name: Deploy to WordPress.org
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
- "!v*-*"
|
|
jobs:
|
|
tag:
|
|
name: New tag
|
|
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 Plugin Deploy
|
|
uses: 10up/action-wordpress-plugin-deploy@stable
|
|
env:
|
|
SLUG: stklcode-liveticker
|
|
ASSETS_DIR: assets
|
|
SVN_PASSWORD: ${{ secrets.WP_SVN_PASSWORD }}
|
|
SVN_USERNAME: ${{ secrets.WP_SVN_USERNAME }}
|