Browse Source

fetch jlc parts in workflow

Thomas Buck 11 months ago
parent
commit
a0a2a01038
2 changed files with 8 additions and 2 deletions
  1. 6
    0
      .github/workflows/docs.yml
  2. 2
    2
      docs/generate_docs.sh

+ 6
- 0
.github/workflows/docs.yml View File

64
           curl -sSL $url | tar -xz --directory=./mdbook
64
           curl -sSL $url | tar -xz --directory=./mdbook
65
           echo `pwd`/mdbook >> $GITHUB_PATH
65
           echo `pwd`/mdbook >> $GITHUB_PATH
66
 
66
 
67
+      - name: Fetch part footprints
68
+        run: hardware/fetch_jlc.sh
69
+
70
+      - name: Generate Plots
71
+        run: hardware/generate_plot.sh
72
+
67
       - name: Build Book
73
       - name: Build Book
68
         run: docs/generate_docs.sh build
74
         run: docs/generate_docs.sh build
69
 
75
 

+ 2
- 2
docs/generate_docs.sh View File

28
 
28
 
29
 cd "$(dirname "$0")"
29
 cd "$(dirname "$0")"
30
 
30
 
31
-echo "Generating plots"
31
+#echo "Generating plots"
32
 rm -rf src/plot
32
 rm -rf src/plot
33
-../hardware/generate_plot.sh
33
+#../hardware/generate_plot.sh
34
 cp -r ../hardware/plot src
34
 cp -r ../hardware/plot src
35
 
35
 
36
 echo "Generating plot includes"
36
 echo "Generating plot includes"

Loading…
Cancel
Save