refactor: 图片迁移python脚本
Some checks failed
Gitea Actions Official-website / deploy-dev (push) Failing after 3s
Some checks failed
Gitea Actions Official-website / deploy-dev (push) Failing after 3s
This commit is contained in:
24
scripts/config.json
Normal file
24
scripts/config.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"source": {
|
||||
"type": "local",
|
||||
"base_dir": "public/storage",
|
||||
"ssh": {
|
||||
"host": "source-server.example.com",
|
||||
"port": 22,
|
||||
"username": "username",
|
||||
"password": "your_password_here",
|
||||
"key_file": ""
|
||||
}
|
||||
},
|
||||
"target": {
|
||||
"type": "ssh",
|
||||
"base_dir": "/www/wwwroot/orico-official-website/public/storage",
|
||||
"ssh": {
|
||||
"host": "47.91.149.172",
|
||||
"port": 22,
|
||||
"username": "root",
|
||||
"password": "Orico666tx5d",
|
||||
"key_file": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user