This commit is contained in:
parent
62a3e10218
commit
2aa2cbc2b4
@ -36,16 +36,6 @@ jobs:
|
|||||||
echo -n "提交消息: ${{ github.event.head_commit.message }}">> notify.tpl
|
echo -n "提交消息: ${{ github.event.head_commit.message }}">> notify.tpl
|
||||||
cat notify.tpl | envsubst | jq -sR . | xargs -0 -I {} curl -H "Content-Type: application/json" -X POST -d '{"type":"text","msg":{} }' https://amass.fun/notify
|
cat notify.tpl | envsubst | jq -sR . | xargs -0 -I {} curl -H "Content-Type: application/json" -X POST -d '{"type":"text","msg":{} }' https://amass.fun/notify
|
||||||
- run: resources/build.sh build
|
- run: resources/build.sh build
|
||||||
- name: Copy wt resources to server
|
|
||||||
uses: appleboy/scp-action@v0.1.7
|
|
||||||
with:
|
|
||||||
host: ${{ vars.YUYUN_SERVER }}
|
|
||||||
username: ${{ vars.YUYUN_USER }}
|
|
||||||
password: ${{ secrets.SERVER_ROOT_PASSWORD }}
|
|
||||||
overwrite: true
|
|
||||||
strip_components: 6
|
|
||||||
source: /opt/Libraries/wt-4.11.1/share/Wt/resources/*
|
|
||||||
target: /root/Server/resources
|
|
||||||
- name: Copy app wt resources to server
|
- name: Copy app wt resources to server
|
||||||
uses: appleboy/scp-action@v0.1.7
|
uses: appleboy/scp-action@v0.1.7
|
||||||
with:
|
with:
|
||||||
|
@ -36,7 +36,7 @@ void Dialog::setStatus(const Wt::WString &result) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Dialog::messageBox1() {
|
void Dialog::messageBox1() {
|
||||||
Wt::WMessageBox::show("信息", "这是一个对话框示例。", Wt::StandardButton::Ok);
|
Wt::WMessageBox::show("信息", "这是一个对话框示例。 ", Wt::StandardButton::Ok);
|
||||||
setStatus("Ok'ed");
|
setStatus("Ok'ed");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user