# grunt-wordpress-update

> Automatically update a remote WordPress installation

Latest version **0.0.1-beta** (published 2015-08-18) · 0 weekly downloads

## Install

```sh
npm install grunt-wordpress-update
pnpm add grunt-wordpress-update
yarn add grunt-wordpress-update
bun add grunt-wordpress-update
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1-beta |
| Published | 2015-08-18 |
| First published | 2015-08-18 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.8.7 |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Tyler Gerard |
| Maintainers | twgerard |

## Links

- npm: https://www.npmjs.com/package/grunt-wordpress-update
- Repository: https://github.com/TWGerard/grunt-wordpress-update
- Issues: https://github.com/TWGerard/grunt-wordpress-update/issues
- npm.io page: https://npm.io/package/grunt-wordpress-update

## Dependencies (3)

- [shelljs](https://npm.io/package/shelljs.md) ~0.1.4
- [grunt-ssh](https://npm.io/package/grunt-ssh.md) ~0.12.6
- [grunt-wordpress-deploy](https://npm.io/package/grunt-wordpress-deploy.md) ~0.0.6

## Recent versions

- 0.0.1-beta (latest) — 2015-08-18
- 0.0.1 — 2015-08-18

## README

# WordPress Update

# BETA - Use at your own risk

Uses `grunt-ssh` and `grunt-wordpress-deploy` to automatically clean and download a WordPress installation from a remote server(s), update locally, and re-deploy.

* Will delete any WordPress repository (github.com/WordPress/WordPress.git) from server.
* Will backup (to `../private`) and safely delete any Capistrano installation from server.

## Example Gruntfile.js:
```javascript
module.exports = function(grunt) {
  'use strict';
 
  grunt.initConfig({
    wordpressupdate: {
      git_repo: null, // Optional Git repo URL
      wp_version: '4.3',
      wp_prefix: 'wp_',
      servers: {
        local: {
          "title": "local",
          "database": "database_name",
          "user": "database_username",
          "pass": "database_password",
          "host": "database_host",
          "url": "http://local_url",
          "path": "/local_path",
          "file_owner": "filesystem_owner",
          "file_group": "filesystem_group",
        },
        staging: {
          "title": "staging",
          "database": "database_name",
          "user": "database_username",
          "pass": "database_password",
          "host": "database_host",
          "url": "http://staging_url",
          "path": "/staging_path",
          "ssh_host": "staging_host",
          "ssh_user": "staging_user",
          "git_branch": "staging",
        },
        production: {
          "title": "production",
          "database": "database_name",
          "user": "database_username",
          "pass": "database_password",
          "host": "database_host",
          "url": "http://production_url",
          "path": "/production_path",
          "ssh_host": "production_host",
          "ssh_user": "production_user",
          "git_branch": "master",
        }
      },
    },
  });
 
  // Load WordPress Updater
  var updater = require('grunt-wordpress-update');
  updater(grunt);
};
```

---
_Source: https://npm.io/package/grunt-wordpress-update · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
