3333 issue-number : ${{ github.event.pull_request.number }}
3434 comment-author : " github-actions[bot]"
3535 body-includes : " Preview Deployment"
36-
36+
3737 - name : Update Comment if exists
3838 if : github.event_name == 'pull_request' && steps.deploy-preview-comment.outputs.comment-id != 0
3939 uses : peter-evans/create-or-update-comment@v1.4.5
@@ -57,11 +57,12 @@ jobs:
5757
5858 - name : Copy Static Files
5959 run : |
60- mkdir -p static/resources/datasheets static/resources/schematics static/resources/pinouts
60+ mkdir -p static/resources/datasheets static/resources/schematics static/resources/pinouts static/resources/models
6161 find ./content/hardware -type f -name "*-schematics.pdf" -exec cp {} ./static/resources/schematics/ \;
6262 find ./content/hardware -type f -name "*-datasheet.pdf" -exec cp {} ./static/resources/datasheets/ \;
6363 find ./content/hardware -type f -name "*-full-pinout.pdf" -exec cp {} ./static/resources/pinouts/ \;
6464 find ./content/hardware -type f -name "*-pinout.png" -exec cp {} ./static/resources/pinouts/ \;
65+ find ./content/hardware -type f -name "*-step.zip" -exec cp {} ./static/resources/models/ \;
6566
6667 - name : Gatsby main cache
6768 uses : actions/cache@v4
@@ -107,7 +108,7 @@ jobs:
107108 --auth ${{ secrets.NETLIFY_AUTH_TOKEN }} \
108109 --json \
109110 > deploy_output.json
110-
111+
111112 - name : Generate URL Preview
112113 if : github.event_name == 'pull_request'
113114 id : url_preview
@@ -124,7 +125,7 @@ jobs:
124125 ## Preview Deployment
125126 🚀 Preview this PR: ${{ steps.url_preview.outputs.NETLIFY_PREVIEW_URL }}
126127 📍 Commit SHA: ${{ github.sha }}
127-
128+
128129 - name : Update PR Preview Comment
129130 if : github.event_name == 'pull_request' && steps.deploy-preview-comment.outputs.comment-id != 0
130131 uses : peter-evans/create-or-update-comment@v1.4.5
0 commit comments