mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 01:02:24 +01:00
22 lines
973 B
YAML
22 lines
973 B
YAML
hosts:
|
|
deployer.org:
|
|
remote_user: anton
|
|
|
|
config:
|
|
banner: |
|
|
╭──────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ Update available! https://deployer.org/download │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────╯
|
|
|
|
tasks:
|
|
update_manifest:
|
|
- desc: Create a new record in manifest.json
|
|
- cd: ~/deployer.org/artifacts
|
|
run: "fx manifest.json '[...this, {name: `deployer.org`, sha1: `{{sha1}}`, url: `{{url}}`, version: `{{version}}`}]' save"
|
|
|
|
create_banner:
|
|
- desc: Create an update banner
|
|
- run: echo $'{{banner}}' > {{site}}/check-updates/{{old_version}}
|