From c0dfdb1e547fdcd9bf6813d085dddf6ef6d8dd6f Mon Sep 17 00:00:00 2001 From: M1ngdaXie <156019134+M1ngdaXie@users.noreply.github.com> Date: Thu, 26 Mar 2026 23:11:15 -0700 Subject: [PATCH] fix(deploy): ensure target directory is created before deployment --- .gitea/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 61df701..b1cbbe1 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -17,5 +17,6 @@ - name: Deploy run: | + mkdir -p /var/www/os.m1ngdaxie.com rm -rf /var/www/os.m1ngdaxie.com/* - cp -r dist/* /var/www/os.m1ngdaxie.com/ \ No newline at end of file + cp -r dist/* /var/www/os.m1ngdaxie.com/ \ No newline at end of file