deploy res.
Some checks failed
Deploy / Build (push) Failing after 4m44s

This commit is contained in:
amass 2024-11-21 00:16:05 +08:00
parent 62a3e10218
commit 2aa2cbc2b4
2 changed files with 1 additions and 11 deletions

View File

@ -36,16 +36,6 @@ jobs:
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
- 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
uses: appleboy/scp-action@v0.1.7
with:

View File

@ -36,7 +36,7 @@ void Dialog::setStatus(const Wt::WString &result) {
}
void Dialog::messageBox1() {
Wt::WMessageBox::show("信息", "这是一个对话框示例。", Wt::StandardButton::Ok);
Wt::WMessageBox::show("信息", "这是一个对话框示例。 ", Wt::StandardButton::Ok);
setStatus("Ok'ed");
}