Update 'Usage'
parent
f1249d68e9
commit
6e8873d1fe
12
Usage.md
12
Usage.md
@ -30,12 +30,22 @@ $ fresh.phar --check || ./update.sh
|
||||
|
||||
### Slack/Mattermost Webhooks
|
||||
|
||||
Fresh can invoke a Slack-compatible webhook to notify before anything is actually updated. To do this, use the `--slack` flag followed by the webhook URL
|
||||
Fresh can invoke a Slack-compatible webhook to notify before anything is actually updated. To do this, use the `--slack` flag followed by the webhook URL:
|
||||
|
||||
```shell
|
||||
# Notify something
|
||||
$ fresh.phar --slack https://my.server.tld/url
|
||||
```
|
||||
|
||||
### Script hooks
|
||||
|
||||
You can specify a script to run after an update by using the `--after` flag.
|
||||
|
||||
```shell
|
||||
# Do something
|
||||
$ fresh.phar --after /path/to/fix-stuff.sh
|
||||
```
|
||||
|
||||
## Scheduled run
|
||||
|
||||
### Using cron
|
||||
|
Loading…
Reference in New Issue
Block a user