mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-09-24 07:33:55 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2651e3eecb | ||
|
|
a9c15493e0 | ||
|
|
b107255845 | ||
|
|
de20664c6e | ||
|
|
d2a4efa87c | ||
|
|
9f40ee1996 | ||
|
|
0dc935cdec | ||
|
|
4afbe87441 | ||
|
|
6ae12186da | ||
|
|
4a950331e5 | ||
|
|
057a69d147 | ||
|
|
164dafd7fc |
@@ -0,0 +1,6 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: docker
|
||||||
|
directory: /
|
||||||
|
schedule:
|
||||||
|
interval: monthly
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM drinternet/rsync:v1.3.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 base-image (drinternet/rsync) of this action is very small and is based on Alpine 3.14.1 (no cache) which results in fast deployments.
|
The base-image (drinternet/rsync) of this action is very small and is based on Alpine 3.16.1 (no cache) which results in fast deployments.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -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
|
||||||
|
|
||||||
@@ -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.1
|
uses: burnett01/rsync-deployments@5.2.1
|
||||||
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.1
|
uses: burnett01/rsync-deployments@5.2.1
|
||||||
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.1
|
uses: burnett01/rsync-deployments@5.2.1
|
||||||
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.1
|
uses: burnett01/rsync-deployments@5.2.1
|
||||||
with:
|
with:
|
||||||
switches: -avzr --delete
|
switches: -avzr --delete
|
||||||
path: src/
|
path: src/
|
||||||
@@ -127,9 +127,17 @@ jobs:
|
|||||||
```
|
```
|
||||||
---
|
---
|
||||||
|
|
||||||
## Version 4.0 & 4.1
|
## Version 5.0, 5.1 & 5.2
|
||||||
|
|
||||||
Looking for version 4.0 and 4.1?
|
Check here:
|
||||||
|
|
||||||
|
- https://github.com/Burnett01/rsync-deployments/tree/5.0 (alpine 3.11.x)
|
||||||
|
- https://github.com/Burnett01/rsync-deployments/tree/5.1 (alpine 3.14.1)
|
||||||
|
- https://github.com/Burnett01/rsync-deployments/tree/5.2 (alpine 3.15.0)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Version 4.0 & 4.1
|
||||||
|
|
||||||
Check here:
|
Check here:
|
||||||
|
|
||||||
@@ -140,9 +148,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?
|
|
||||||
|
|
||||||
Check here: https://github.com/Burnett01/rsync-deployments/tree/3.0
|
Check here: https://github.com/Burnett01/rsync-deployments/tree/3.0
|
||||||
|
|
||||||
@@ -152,8 +158,6 @@ based on ``alpine:latest``and heavily optimized for rsync.
|
|||||||
|
|
||||||
## Version 2.0 (EOL)
|
## Version 2.0 (EOL)
|
||||||
|
|
||||||
Looking for version 2.0?
|
|
||||||
|
|
||||||
Check here: https://github.com/Burnett01/rsync-deployments/tree/2.0
|
Check here: https://github.com/Burnett01/rsync-deployments/tree/2.0
|
||||||
|
|
||||||
Version 2.0 uses a larger base-image (``ubuntu:latest``).<br>
|
Version 2.0 uses a larger base-image (``ubuntu:latest``).<br>
|
||||||
@@ -161,8 +165,6 @@ Consider upgrading to 3.0 for even faster deployments.
|
|||||||
|
|
||||||
## Version 1.0 (EOL)
|
## Version 1.0 (EOL)
|
||||||
|
|
||||||
Looking for version 1.0?
|
|
||||||
|
|
||||||
Check here: https://github.com/Burnett01/rsync-deployments/tree/1.0
|
Check here: https://github.com/Burnett01/rsync-deployments/tree/1.0
|
||||||
|
|
||||||
Please note that version 1.0 has reached end of life state.
|
Please note that version 1.0 has reached end of life state.
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ The following versions are currently being supported with security updates:
|
|||||||
| 5.x | :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: |
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user