From 4e00b25b39aa36ce73f64be5e8a40133f4354dab Mon Sep 17 00:00:00 2001 From: wonder Date: Wed, 27 May 2026 13:40:10 +0800 Subject: [PATCH] fix: set read permissions on dist/ for nginx container The nginx:alpine image runs as UID 101 which can't read root-owned files from the CI build. chmod o+rX allows the nginx user to serve the static files. Co-Authored-By: Claude Opus 4.7 --- .gitea/workflows/deploy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index a3214a0..66020fa 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -31,6 +31,7 @@ jobs: - name: Deploy to nginx run: | + chmod -R o+rX dist docker rm -f slides-nginx 2>/dev/null || true docker run -d \ --name slides-nginx \