fix: set read permissions on dist/ for nginx container
Deploy Slides / build-and-deploy (push) Successful in 1m16s

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 <noreply@anthropic.com>
This commit is contained in:
2026-05-27 13:40:10 +08:00
parent b86fb28d14
commit 4e00b25b39
+1
View File
@@ -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 \