From 2aa2cbc2b417ec0edf4ff14dc31122a2af74ad3c Mon Sep 17 00:00:00 2001 From: amass Date: Thu, 21 Nov 2024 00:16:05 +0800 Subject: [PATCH] deploy res. --- .gitea/workflows/deploy.yaml | 10 ---------- WebApplication/Dialog.cpp | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 833c7b7..e87f8ac 100755 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -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: diff --git a/WebApplication/Dialog.cpp b/WebApplication/Dialog.cpp index 32d7bca..49bb6c6 100644 --- a/WebApplication/Dialog.cpp +++ b/WebApplication/Dialog.cpp @@ -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"); }