fix: clone figlet fonts in GitHub Actions workflow
- Add step to clone xero/figlet-fonts repository before Docker build - Fixes ENOENT error: public/fonts/figlet-fonts directory missing during build - Fonts are excluded from git per .gitignore, must be cloned separately
This commit is contained in:
4
.github/workflows/docker-build-push.yml
vendored
4
.github/workflows/docker-build-push.yml
vendored
@@ -28,6 +28,10 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Clone figlet fonts
|
||||||
|
run: |
|
||||||
|
git clone --depth 1 https://github.com/xero/figlet-fonts.git public/fonts/figlet-fonts
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user