File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 25
25
- name : Render Datasheets
26
26
run : cd ${GITHUB_WORKSPACE}/scripts/datasheet-rendering;./render-datasheets.sh
27
27
28
+ - name : Copy Static Files
29
+ run : |
30
+ mkdir -p static/resources/datasheets static/resources/schematics static/resources/pinouts
31
+ find ./content/hardware -type f -name "*-schematics.pdf" -exec cp {} ./static/resources/schematics/ \;
32
+ find ./content/hardware -type f -name "*-datasheet.pdf" -exec cp {} ./static/resources/datasheets/ \;
33
+ find ./content/hardware -type f -name "*-full-pinout.pdf" -exec cp {} ./static/resources/pinouts/ \;
34
+ find ./content/hardware -type f -name "*-pinout.png" -exec cp {} ./static/resources/pinouts/ \;
35
+
28
36
- name : Gatsby main cache
29
37
uses : actions/cache@v2
30
38
id : gatsby-cache-folder
Original file line number Diff line number Diff line change 24
24
- name : Render Datasheets
25
25
run : cd ${GITHUB_WORKSPACE}/scripts/datasheet-rendering;./render-datasheets.sh
26
26
27
+ - name : Copy Static Files
28
+ run : |
29
+ mkdir -p static/resources/datasheets static/resources/schematics static/resources/pinouts
30
+ find ./content/hardware -type f -name "*-schematics.pdf" -exec cp {} ./static/resources/schematics/ \;
31
+ find ./content/hardware -type f -name "*-datasheet.pdf" -exec cp {} ./static/resources/datasheets/ \;
32
+ find ./content/hardware -type f -name "*-full-pinout.pdf" -exec cp {} ./static/resources/pinouts/ \;
33
+ find ./content/hardware -type f -name "*-pinout.png" -exec cp {} ./static/resources/pinouts/ \;
34
+
27
35
- name : Gatsby main cache
28
36
uses : actions/cache@v2
29
37
id : gatsby-cache-folder
You can’t perform that action at this time.
0 commit comments