An open API service indexing awesome lists of open source software.

https://github.com/anteriovieira/hexo-deployer-copy

Copy deployer plugin for Hexo
https://github.com/anteriovieira/hexo-deployer-copy

copy deployer hexo plugin

Last synced: about 1 month ago
JSON representation

Copy deployer plugin for Hexo

Awesome Lists containing this project

README

        

# Copy deployer plugin for [Hexo](http://zespia.tw/hexo/)

This plugin can deploy your blog via copy.

## Usage

### Install

```
npm install hexo-deployer-copy --save
```

### Configure

Add `to` to `deploy` in `_config.yml`.

```yml
# You can use this:
deploy:
type: copy
to:
clean_before: [true|false]
```

| Option | Description | Default | Param |
|--------|-------------|---------|-------|
| to | Destination directory | | Required
| clean_before | Clear the destination directory before copying | false | Optional

### Update

Execute the following command.

```
npm update
```

### Uninstall

Execute the following command.

```
npm uninstall hexo-deployer-copy
```

## License

The MIT License