Bind media volume on runner container
Some checks failed
Build Eleventy Site / build (push) Failing after 2m5s

so that the built site can be copied to the document root for the site
This commit is contained in:
Devon Campbell 2025-03-03 22:33:58 -05:00
commit 181437b7d0

View file

@ -10,6 +10,8 @@ jobs:
runs-on: docker
container:
image: node:18
volumes:
- /media/Media:/media/Media
steps:
- name: Checkout code
@ -24,6 +26,11 @@ jobs:
- name: Build Eleventy site
run: npm run build
- name: Debugging step
run: |
echo '/media: $(ls /media)'
echo '/media/Media: $(ls /media/Media)'
- name: Move built site
run: |
if [ "${{ github.ref }}" == "refs/heads/main" ]; then