mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2024-12-04 13:00:41 +01:00
Update README.md
added syntax highlighting
This commit is contained in:
parent
796cf0d5e4
commit
f825a1ed74
1 changed files with 5 additions and 5 deletions
10
README.md
10
README.md
|
@ -46,7 +46,7 @@ For simplicity, we are using `DEPLOY_*` as the secret variables throughout the e
|
||||||
|
|
||||||
Simple:
|
Simple:
|
||||||
|
|
||||||
```
|
```yml
|
||||||
name: DEPLOY
|
name: DEPLOY
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -71,7 +71,7 @@ jobs:
|
||||||
|
|
||||||
Advanced:
|
Advanced:
|
||||||
|
|
||||||
```
|
```yml
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -91,7 +91,7 @@ jobs:
|
||||||
|
|
||||||
For better **security**, I suggest you create additional secrets for remote_host, remote_port, remote_user and remote_path inputs.
|
For better **security**, I suggest you create additional secrets for remote_host, remote_port, remote_user and remote_path inputs.
|
||||||
|
|
||||||
```
|
```yml
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -111,7 +111,7 @@ jobs:
|
||||||
|
|
||||||
If your private key is passphrase protected you should use:
|
If your private key is passphrase protected you should use:
|
||||||
|
|
||||||
```
|
```yml
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -137,7 +137,7 @@ jobs:
|
||||||
If your remote OpenSSH Server still uses RSA hostkeys, then you have to
|
If your remote OpenSSH Server still uses RSA hostkeys, then you have to
|
||||||
manually enable legacy support for this by using ``legacy_allow_rsa_hostkeys: "true"``.
|
manually enable legacy support for this by using ``legacy_allow_rsa_hostkeys: "true"``.
|
||||||
|
|
||||||
```
|
```yml
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue