Skip to content

Version 3.1.0

Version 3.1.0 #72

Workflow file for this run

name: New WordPress.org release
on:
release:
types: [published]
jobs:
tag:
name: New release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Deploy plugin to WordPress official repository
id: wordpress_plugin_deploy
uses: Pierre-Lannoy/wordpress-actions/dotorg-plugin-deploy@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLUG: traffic
NAME: Traffic
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
- name: Adding plugin zip to release
uses: softprops/action-gh-release@v1
if: ${{startsWith(github.ref, 'refs/tags/') }}
with:
files: ${{ steps.wordpress_plugin_deploy.outputs.zip_file }}