README.md 1.03 KB
Newer Older
Thomas Löffler's avatar
Thomas Löffler committed
1
2
# Deployer Information

Thomas Löffler's avatar
Thomas Löffler committed
3
System toolbar information about last deployment, fetched from different deployment types
Thomas Löffler's avatar
Thomas Löffler committed
4
5
6
7
8

## How to install

```bash
composer require spooner/deployer-information
9
10
```

Thomas Löffler's avatar
Thomas Löffler committed
11
## Deployment types to be handled
12

Thomas Löffler's avatar
Thomas Löffler committed
13
If one of the following deployment is found, the information is displayed.
14
15

1. Deployer
16
17
2. Deployer v7 (change of release files structure)
3. Custom (Modified datetime of file `LAST_DEPLOY` in project root)
18

Thomas Löffler's avatar
Thomas Löffler committed
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
## How to configure your deployment

### Deployer

You don't need to do anything. The extension looks for the default folder and files of a release.

### Custom

You need to touch the file `LAST_DEPLOY` in your project root (normally it's not the document root, but it can be).<br>
The extension looks for this file and creates the datetime of the last change (the last touch).

You can touch a file with

```bash
touch LAST_DEPLOY
```

## I need special behaviour for my deployment

No problem. Just create [an issue](https://git.spooner.io/spooner/deployer_information/-/issues) and I'll adapt your deployment type.