Attempt to clean up before deploying plugin to wordpress.org

SBWP-6^2
Robert Sæther 4 years ago
parent 16394e58f0
commit 87f404bf5b

@ -14,6 +14,8 @@ jobs:
composer install
yarn install
yarn production
./cleanup.sh
rm cleanup.sh
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@master
env:

@ -0,0 +1,13 @@
#!/bin/bash
rm -rf node_modules 2> /dev/null
rm -rf vendor 2> /dev/null
rm -rf .babelrc 2> /dev/null
rm -rf .eslintignore 2> /dev/null
rm -rf .eslintrc 2> /dev/null
rm -rf composer.json 2> /dev/null
rm -rf composer.lock 2> /dev/null
rm -rf package.json 2> /dev/null
rm -rf postcss.config.js 2> /dev/null
rm -rf webpack.config.js 2> /dev/null
rm -rf yarn.lock 2> /dev/null

@ -5,7 +5,7 @@ Version: 2.0.9
Author: Servebolt
Author URI: https://servebolt.com
Description: A plugin that implements Servebolt Security & Performance best practises for WordPress.
License: GPLv2 or later
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: servebolt-wp
*/

Loading…
Cancel
Save