You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+47-8Lines changed: 47 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This GitHub Action (amd64) deploys files in `GITHUB_WORKSPACE` to a remote folde
4
4
5
5
Use this action in a CD workflow which leaves deployable code in `GITHUB_WORKSPACE`.
6
6
7
-
The base-image [drinternet/rsync](https://github.com/JoshPiper/rsync-docker/) of this action is very small and is based on Alpine 3.17.2 (no cache) which results in fast deployments.
7
+
The base-image [drinternet/rsync](https://github.com/JoshPiper/rsync-docker/) of this action is very small and is based on Alpine 3.19.1 (no cache) which results in fast deployments.
8
8
9
9
---
10
10
@@ -14,6 +14,8 @@ The base-image [drinternet/rsync](https://github.com/JoshPiper/rsync-docker/) of
14
14
15
15
-`rsh` - Remote shell commands
16
16
17
+
-`legacy_allow_rsa_hostkeys` - Enables support for legacy RSA host keys on OpenSSH 8.8+. ("true" / "false")
18
+
17
19
-`path` - The source path. Defaults to GITHUB_WORKSPACE and is relative to it
#### Legacy RSA Hostkeys support for OpenSSH Servers >= 8.8+
134
+
135
+
If your remote OpenSSH Server still uses RSA hostkeys, then you have to
136
+
manually enable legacy support for this by using ``legacy_allow_rsa_hostkeys: "true"``.
137
+
138
+
```
139
+
jobs:
140
+
deploy:
141
+
runs-on: ubuntu-latest
142
+
steps:
143
+
- uses: actions/checkout@v3
144
+
- name: rsync deployments
145
+
uses: burnett01/rsync-deployments@7.0.0
146
+
with:
147
+
switches: -avzr --delete
148
+
legacy_allow_rsa_hostkeys: "true"
149
+
path: src/
150
+
remote_path: ${{ secrets.DEPLOY_PATH }}
151
+
remote_host: ${{ secrets.DEPLOY_HOST }}
152
+
remote_port: ${{ secrets.DEPLOY_PORT }}
153
+
remote_user: ${{ secrets.DEPLOY_USER }}
154
+
remote_key: ${{ secrets.DEPLOY_KEY }}
155
+
```
156
+
157
+
See [#49](https://github.com/Burnett01/rsync-deployments/issues/49) and [#24](https://github.com/Burnett01/rsync-deployments/issues/24) for more information.
0 commit comments