Skip to content

Commit

Permalink
Remove the old wp_deploy code.
Browse files Browse the repository at this point in the history
  • Loading branch information
dd32 committed Aug 20, 2024
1 parent c913c1c commit 4a9feba
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 208 deletions.
24 changes: 0 additions & 24 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,6 @@ module.exports = function( grunt ) {
],
},
},

wp_deploy: {
options: {
plugin_slug: 'two-factor',
build_dir: '<%= dist_dir %>',
assets_dir: 'assets',
},
wporg: {
options: {
skip_confirmation: isTruthy( process.env.DEPLOY_SKIP_CONFIRMATION ),
svn_user: process.env.DEPLOY_SVN_USERNAME,
deploy_tag: isTruthy( process.env.DEPLOY_TAG ),
deploy_trunk: isTruthy( process.env.DEPLOY_TRUNK ),
assets_dir: ( isTruthy( process.env.DEPLOY_TAG ) || isTruthy( process.env.DEPLOY_TRUNK ) ) ? 'assets' : null,
},
},
},
} );

grunt.registerTask(
Expand All @@ -72,11 +55,4 @@ module.exports = function( grunt ) {
'copy',
]
);

grunt.registerTask(
'deploy', [
'build',
'wp_deploy',
]
);
};
183 changes: 0 additions & 183 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"grunt-cli": "^1.5.0",
"grunt-contrib-clean": "^2.0.1",
"grunt-contrib-copy": "^1.0.0",
"grunt-wp-deploy": "^2.1.2",
"load-grunt-tasks": "^5.1.0",
"npm-run-all": "^4.1.5",
"parse-gitignore": "^0.5.1",
Expand Down

0 comments on commit 4a9feba

Please sign in to comment.