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