From da670c4475d07e01368f008d10a8eb539076d212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83?= Date: Fri, 22 Dec 2023 18:19:08 +0800 Subject: [PATCH] update --- .github/workflows/static.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 388f24b..6391e3a 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -45,7 +45,7 @@ jobs: mkdir -p /var/www cp -Rf ./docx/* /var/www cd /var/www/_media - if ! [-f /var/www/_media/winui++${{ vars.VERSION }}-setup.x64.exe]; then + if [ ! -f /var/www/_media/winui++${{ vars.VERSION }}-setup.x64.exe ]; then curl -L --create-dirs -o winui++${{ vars.VERSION }}-setup.x64.exe https://winui.net/simple/v3/download fi sudo chown -R caddy:caddy /var/www/_media