Create /nas-dashboard directory before syncing compose file

Docker volume mounts may not auto-create mount points inside the
job container. Use mkdir -p to ensure the target directory exists
before copying files.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Gan, Jimmy
2026-06-04 09:50:36 +08:00
parent 761f5f562b
commit bb9a4c3977
+3 -1
View File
@@ -242,7 +242,9 @@ jobs:
fi
- name: Sync runtime compose file
run: cp dashboard/docker-compose.yml /nas-dashboard/docker-compose.yml
run: |
mkdir -p /nas-dashboard
cp dashboard/docker-compose.yml /nas-dashboard/docker-compose.yml
- name: Deploy and verify
run: |