Skip to content

Commit 9c38d5f

Browse files
committed
Fix output path
1 parent 30f285b commit 9c38d5f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/deploy-staging.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,11 @@ jobs:
4343
- name: Render Datasheets
4444
if: steps.cache.outputs.cache-hit != 'true'
4545
run: |
46-
cd ${GITHUB_WORKSPACE}/scripts/datasheet-rendering;./render-datasheets.sh
47-
find ./content/hardware -type f -name "*-schematics.pdf" -exec cp {} ./static/resources/schematics/ \;
46+
cd ${GITHUB_WORKSPACE}/scripts/datasheet-rendering
47+
./render-datasheets.sh
48+
cd $GITHUB_WORKSPACE
49+
mkdir -p static/resources/datasheets
50+
find ./content/hardware -type f -name "*-datasheet.pdf" -exec cp {} ./static/resources/datasheets/ \;
4851
4952
- name: Export artifact
5053
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)