mirror of
https://github.com/NewFuture/DDNS.git
synced 2026-10-19 16:15:45 +00:00
azure pipelines
This commit is contained in:
@@ -50,9 +50,10 @@ Build Status [
|
||||
* 二进制版(无需python环境)
|
||||
* Windows [ddns.exe](https://github.com/NewFuture/DDNS/releases/latest)
|
||||
* Linux (仅Ubuntu测试) [ddns](https://github.com/NewFuture/DDNS/releases/latest)
|
||||
* Mac OSX [ddns-oxs](https://github.com/NewFuture/DDNS/releases/latest)
|
||||
* 源码运行(需要python环境)
|
||||
1. clone 或者[下载此仓库](https://github.com/NewFuture/DDNS/archive/master.zip)并解压
|
||||
2. 运行./run.py (widnows 双击`run.bat`或者运行`python run.py`)
|
||||
@@ -113,7 +114,7 @@ python run.py -c /path/to/config.json
|
||||
|
||||
```json
|
||||
{
|
||||
"$schema": "https://ddns.newfuture.cc/schema.json",
|
||||
"$schema": "https://ddns.newfuture.cc/schema.json",
|
||||
"id": "12345",
|
||||
"token": "mythokenkey",
|
||||
"dns": "dnspod 或 dnspod_com 或 alidns 或 dnscom 或 cloudflare",
|
||||
|
||||
+3
-3
@@ -49,12 +49,12 @@ jobs:
|
||||
- bash: dist/ddns.exe || test -e "config.json"
|
||||
name: run
|
||||
|
||||
- bash: cp release/*.sh dist/ && cp release/*.md dist/
|
||||
- script: copy release\\*.bat dist
|
||||
name: 'CopyRlease'
|
||||
|
||||
- bash: envsubst < dist/README.md
|
||||
- bash: envsubst < release/README.md > dist/README.md
|
||||
name: ReplaceVersion
|
||||
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
inputs:
|
||||
pathtoPublish: './dist/'
|
||||
|
||||
Reference in New Issue
Block a user