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
+15-7Lines changed: 15 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
-
# Crane - Fast and Secure .tar.gz Deployment
1
+
<divalign="center">
2
+
<imgsrc="logo.jpg"width=256></img>
3
+
<p><strong>Crane - Fast and Secure .tar.gz Deployment</strong></p>
2
4
3
-

5
+
English | [简体中文](README_Zh-CN.md)
4
6
5
-
English | [简体中文](README_Zh-CN.md)
7
+
</div>
6
8
7
9
Crane is a simple, fast, and secure tool write in Rust for downloading and deploying your `.tar.gz` archive files without the need for server passwords or keys. It was designed to provide a quick and convenient way to deploy your software or files to a server without the usual complexities of authentication and authorization.
8
10
@@ -15,18 +17,20 @@ Crane is a simple, fast, and secure tool write in Rust for downloading and deplo
15
17
16
18
## Installation
17
19
20
+
Crane will decompress the `.tar.gz` file to the `/dist/` directory. So when using Docker, just mount the host directory you want to deploy to the `/dist/` directory of the container.
21
+
18
22
1. use Docker
19
23
20
24
```bash
21
-
docker run -e API_KEY={YOUR_SUPER_SECURE_API_KEY} -p 8594:8594 -v /dist_path_on_host/:/dist/ wangyucode/crane:0.1.0
25
+
docker run -e API_KEY={YOUR_SUPER_SECURE_API_KEY} -p 8594:8594 -v /dist_path_on_host/:/dist/ wangyucode/crane:0.1.2
-[ ] Cancel last deployment when new deployment is triggered.
72
76
-[ ] Support options, override flag.
77
+
78
+
## Other Options
79
+
80
+
If you're looking for a GitHub action to deploy files via `sftp` using server keys, you can try [wangyucode/sftp-upload-action](https://github.com/wangyucode/sftp-upload-action)
0 commit comments