From b5877bb0244a22518cf812c3832b837d4efc7cea Mon Sep 17 00:00:00 2001 From: Luca Osti Date: Fri, 11 Oct 2024 09:02:10 +0200 Subject: [PATCH 1/2] Update deploy-production.yml --- .github/workflows/deploy-production.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 6c920f8340..46f5df7621 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -66,6 +66,7 @@ jobs: - name: Copy Static Files run: | mkdir -p static/resources/schematics static/resources/pinouts static/resources/models + find ./content/hardware -type f -name "*-schematics.pdf" -exec cp {} ./static/resources/schematics/ \; find ./content/hardware -type f -name "*-full-pinout.pdf" -exec cp {} ./static/resources/pinouts/ \; find ./content/hardware -type f -name "*-pinout.png" -exec cp {} ./static/resources/pinouts/ \; find ./content/hardware -type f -name "*-step.zip" -exec cp {} ./static/resources/models/ \; From 3fb90bedf9e6099b0581836a25746bd1870a6dc4 Mon Sep 17 00:00:00 2001 From: Luca Osti Date: Fri, 11 Oct 2024 09:02:52 +0200 Subject: [PATCH 2/2] Update deploy-staging.yml --- .github/workflows/deploy-staging.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index ba16e2bf08..79425fc4c7 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -66,6 +66,7 @@ jobs: - name: Copy Static Files run: | mkdir -p static/resources/schematics static/resources/pinouts static/resources/models + find ./content/hardware -type f -name "*-schematics.pdf" -exec cp {} ./static/resources/schematics/ \; find ./content/hardware -type f -name "*-full-pinout.pdf" -exec cp {} ./static/resources/pinouts/ \; find ./content/hardware -type f -name "*-pinout.png" -exec cp {} ./static/resources/pinouts/ \; find ./content/hardware -type f -name "*-step.zip" -exec cp {} ./static/resources/models/ \;