diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 13c413b..c791556 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -21,4 +21,7 @@ jobs: run: npm run build - name: Copy built site to host folder - run: mdkir /www/work.suroh.tk && cp -r _site /www/work.suroh.tk + run: mkdir /www/work.suroh.tk && cp -r _site /www/work.suroh.tk + + - name: Set ownership to www-data + run: chown -R www-data /www/work.suroh.tk