Skip to content

Deploy to WordPress.org #10

Deploy to WordPress.org

Deploy to WordPress.org #10

Workflow file for this run

name: Deploy to WordPress.org
on:
push:
tags:
- "*"
workflow_dispatch:
inputs:
tag:
description: "Tag to deploy"
required: true
jobs:
tag:
name: New tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "7.4"
coverage: none
tools: composer:v2
- name: Build
run: |
composer install --no-dev --no-interaction --prefer-dist --optimize-autoloader
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@stable
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: flywp
VERSION: ${{ github.event.inputs.tag }}