mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-09-25 21:21:57 +00:00
Compare commits
6
Commits
5.2
...
release/5.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d987a9a536 | ||
|
|
de20664c6e | ||
|
|
d2a4efa87c | ||
|
|
a078b62820 | ||
|
|
c7baefdc23 | ||
|
|
9f40ee1996 |
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM drinternet/rsync:v1.4.0
|
FROM drinternet/rsync:v1.4.1
|
||||||
|
|
||||||
# Copy entrypoint
|
# Copy entrypoint
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# rsync deployments
|
# rsync deployments
|
||||||
|
|
||||||
This GitHub Action deploys files in `GITHUB_WORKSPACE` to a remote folder via rsync over ssh.
|
This GitHub Action (amd64) deploys files in `GITHUB_WORKSPACE` to a remote folder via rsync over ssh.
|
||||||
|
|
||||||
Use this action in a CD workflow which leaves deployable code in `GITHUB_WORKSPACE`.
|
Use this action in a CD workflow which leaves deployable code in `GITHUB_WORKSPACE`.
|
||||||
|
|
||||||
@@ -14,7 +14,7 @@ The base-image (drinternet/rsync) of this action is very small and is based on A
|
|||||||
|
|
||||||
- `rsh` - Remote shell commands
|
- `rsh` - Remote shell commands
|
||||||
|
|
||||||
- `path` - The source path. Defaults to GITHUB_WORKSPACE
|
- `path` - The source path. Defaults to GITHUB_WORKSPACE and is relative to it
|
||||||
|
|
||||||
- `remote_path`* - The deployment target path
|
- `remote_path`* - The deployment target path
|
||||||
|
|
||||||
@@ -140,7 +140,7 @@ Version 4.0 & 4.1 use the ``drinternet/rsync:1.0.1`` base-image.
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Version 3.0
|
## Version 3.0 (EOL)
|
||||||
|
|
||||||
Looking for version 3.0?
|
Looking for version 3.0?
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ set -eu
|
|||||||
|
|
||||||
# Variables.
|
# Variables.
|
||||||
SWITCHES="$INPUT_SWITCHES"
|
SWITCHES="$INPUT_SWITCHES"
|
||||||
RSH="ssh -o StrictHostKeyChecking=no -p $INPUT_REMOTE_PORT $INPUT_RSH"
|
RSH="ssh -o StrictHostKeyChecking=no -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa -p $INPUT_REMOTE_PORT $INPUT_RSH"
|
||||||
LOCAL_PATH="$GITHUB_WORKSPACE/$INPUT_PATH"
|
LOCAL_PATH="$GITHUB_WORKSPACE/$INPUT_PATH"
|
||||||
DSN="$INPUT_REMOTE_USER@$INPUT_REMOTE_HOST"
|
DSN="$INPUT_REMOTE_USER@$INPUT_REMOTE_HOST"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user