mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-09-24 22:33:57 +00:00
Compare commits
13
Commits
5.0
..
release/5.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d987a9a536 | ||
|
|
de20664c6e | ||
|
|
d2a4efa87c | ||
|
|
a078b62820 | ||
|
|
c7baefdc23 | ||
|
|
9f40ee1996 | ||
|
|
0dc935cdec | ||
|
|
4afbe87441 | ||
|
|
6ae12186da | ||
|
|
4a950331e5 | ||
|
|
057a69d147 | ||
|
|
164dafd7fc | ||
|
|
b943ffe476 |
@@ -0,0 +1,6 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: docker
|
||||||
|
directory: /
|
||||||
|
schedule:
|
||||||
|
interval: monthly
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM drinternet/rsync:v1.2.0
|
FROM drinternet/rsync:v1.4.1
|
||||||
|
|
||||||
# Copy entrypoint
|
# Copy entrypoint
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2019-2021 Contention
|
Copyright (c) 2019-2022 Contention
|
||||||
Copyright (c) 2019-2021 Burnett01
|
Copyright (c) 2019-2022 Burnett01
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
# 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`.
|
||||||
|
|
||||||
The underlaying base-image of the docker-image is very small (Alpine (no cache)) which results in fast deployments.
|
The base-image (drinternet/rsync) of this action is very small and is based on Alpine 3.15.0 (no cache) which results in fast deployments.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -14,7 +14,7 @@ The underlaying base-image of the docker-image is very small (Alpine (no cache))
|
|||||||
|
|
||||||
- `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
|
||||||
|
|
||||||
@@ -55,7 +55,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: rsync deployments
|
- name: rsync deployments
|
||||||
uses: burnett01/rsync-deployments@5.0
|
uses: burnett01/rsync-deployments@5.2
|
||||||
with:
|
with:
|
||||||
switches: -avzr --delete
|
switches: -avzr --delete
|
||||||
path: src/
|
path: src/
|
||||||
@@ -74,7 +74,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: rsync deployments
|
- name: rsync deployments
|
||||||
uses: burnett01/rsync-deployments@5.0
|
uses: burnett01/rsync-deployments@5.2
|
||||||
with:
|
with:
|
||||||
switches: -avzr --delete --exclude="" --include="" --filter=""
|
switches: -avzr --delete --exclude="" --include="" --filter=""
|
||||||
path: src/
|
path: src/
|
||||||
@@ -94,7 +94,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: rsync deployments
|
- name: rsync deployments
|
||||||
uses: burnett01/rsync-deployments@5.0
|
uses: burnett01/rsync-deployments@5.2
|
||||||
with:
|
with:
|
||||||
switches: -avzr --delete
|
switches: -avzr --delete
|
||||||
path: src/
|
path: src/
|
||||||
@@ -114,7 +114,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: rsync deployments
|
- name: rsync deployments
|
||||||
uses: burnett01/rsync-deployments@5.0
|
uses: burnett01/rsync-deployments@5.2
|
||||||
with:
|
with:
|
||||||
switches: -avzr --delete
|
switches: -avzr --delete
|
||||||
path: src/
|
path: src/
|
||||||
@@ -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?
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -6,10 +6,10 @@ The following versions are currently being supported with security updates:
|
|||||||
|
|
||||||
| Version | Supported |
|
| Version | Supported |
|
||||||
| ------- | ------------------ |
|
| ------- | ------------------ |
|
||||||
| 5.0 | :white_check_mark: |
|
| 5.x | :white_check_mark: |
|
||||||
| 4.1 | :white_check_mark: |
|
| 4.1 | :white_check_mark: |
|
||||||
| 4.0 | :white_check_mark: |
|
| 4.0 | :white_check_mark: |
|
||||||
| 3.0 | :white_check_mark: |
|
| 3.0 | :x: |
|
||||||
| 2.0 | :x: |
|
| 2.0 | :x: |
|
||||||
| 1.0 | :x: |
|
| 1.0 | :x: |
|
||||||
|
|
||||||
|
|||||||
+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