Compare commits
5 Commits
d0f9fb1d7d
...
master
Author | SHA1 | Date | |
---|---|---|---|
3b587f3506 | |||
9de468c567 | |||
44e059593d | |||
7a0aea66c1 | |||
6b7fdc2445 |
@ -13,8 +13,8 @@ pipeline:
|
|||||||
- mkdir ~/.ssh && chmod -R 700 ~/.ssh
|
- mkdir ~/.ssh && chmod -R 700 ~/.ssh
|
||||||
# - apt update -y && apt install openssh-client rsync -y
|
# - apt update -y && apt install openssh-client rsync -y
|
||||||
- echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts
|
- echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts
|
||||||
- echo 'echo "$SSH_PASSPHRASE"\n' | tr -d '\r' > ~/.ssh/.print_ssh_password
|
- echo -e '#!/bin/sh\necho "$SSH_PASSPHRASE"' | tr -d '\r' > ~/.ssh/.print_ssh_password
|
||||||
- cat ~/.ssh/.print_ssh_password
|
# - cat ~/.ssh/.print_ssh_password
|
||||||
- chmod 700 ~/.ssh/.print_ssh_password
|
- chmod 700 ~/.ssh/.print_ssh_password
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' | DISPLAY=":0.0" SSH_ASKPASS=~/.ssh/.print_ssh_password setsid ssh-add -
|
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' | DISPLAY=":0.0" SSH_ASKPASS=~/.ssh/.print_ssh_password setsid ssh-add -
|
||||||
|
@ -8,7 +8,7 @@ description: >
|
|||||||
This is the section on the config file.
|
This is the section on the config file.
|
||||||
|
|
||||||
To use a specific file:
|
To use a specific file:
|
||||||
```backy backup -f /path/to/file```
|
```backy [command] -f /path/to/file```
|
||||||
|
|
||||||
If you leave the config path blank, the following paths will be searched in order:
|
If you leave the config path blank, the following paths will be searched in order:
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: "Commands"
|
title: "Commands"
|
||||||
weight: 2
|
weight: 1
|
||||||
---
|
---
|
||||||
|
|
||||||
The yaml top-level map can be any string.
|
The yaml top-level map can be any string.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: "Notifications"
|
title: "Notifications"
|
||||||
weight: 2
|
weight: 3
|
||||||
description: >
|
description: >
|
||||||
This page tells you how to get set up Backy notifications.
|
This page tells you how to get set up Backy notifications.
|
||||||
---
|
---
|
||||||
@ -12,10 +12,6 @@ The supported platforms for notifications are email (SMTP) and [Matrix](https://
|
|||||||
|
|
||||||
Notifications are defined by type. The top-level object will be the id, and the `type` is required.
|
Notifications are defined by type. The top-level object will be the id, and the `type` is required.
|
||||||
|
|
||||||
{{% notice info %}}
|
|
||||||
Type in a cmd-configs object must match one of these.
|
|
||||||
{{% /notice %}}
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
notifications:
|
notifications:
|
||||||
prod-email:
|
prod-email:
|
||||||
|
Reference in New Issue
Block a user