ci: add ddns

This commit is contained in:
xiongdian.me 2023-03-15 19:12:29 +08:00
parent 05867b2490
commit 4fe8321504

View File

@ -26,6 +26,7 @@ doll
dfs cd
tools/test-getopts.sh
tools/common.sh get_os_name
DFS_DDNS_IP4=api DFS_DDNS_IP6=api tools/frigg-client.sh ddns
test $(echo y | tools/common.sh ask_for_yN "test") = "1"
test $(echo n | tools/common.sh ask_for_yN "test") = "0"
test $(echo | tools/common.sh ask_for_yN "test") = "0"
@ -60,4 +61,4 @@ test `git rev-parse HEAD` = `curl -fsSL https://api.beardic.cn/get-var/dfs-commi
# clean
git reset --hard $DFS_VERSION
set +x
set +x