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

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 ce672bc134

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,10 @@ jobs:
- name: Build Eleventy site
run: npm run build
- name: Debugging step
run: |
ls /media
- name: Move built site
run: |
if [ "${{ github.ref }}" == "refs/heads/main" ]; then