Initial commit: web_hghl_server
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
echo "开始"
|
||||
rm -rf ./web_hghl_web ./web_hghl_web.tar.gz
|
||||
GOOS=linux GOARCH=amd64 go build -o web_hghl_web
|
||||
tar zvcf web_hghl_web.tar.gz web_hghl_web
|
||||
|
||||
|
||||
scp web_hghl_web.tar.gz root@172.104.166.87:/data/uzip
|
||||
ssh root@172.104.166.87 "/server/web_hghl/web/up_app.sh"
|
||||
|
||||
rm -rf ./web_hghl_web ./web_hghl_web.tar.gz
|
||||
Reference in New Issue
Block a user