File tree Expand file tree Collapse file tree 1 file changed +31
-4
lines changed Expand file tree Collapse file tree 1 file changed +31
-4
lines changed Original file line number Diff line number Diff line change @@ -26,20 +26,47 @@ jobs:
26
26
build :
27
27
runs-on : ubuntu-latest
28
28
steps :
29
- - name : Checkout
29
+ - name : Checkout blockly
30
30
uses : actions/checkout@v4
31
+ with :
32
+ path : blockly
33
+ repository : google/blockly
34
+ ref : develop
35
+
36
+ - name : Checkout blockly-keyboard-experimentation
37
+ uses : actions/checkout@v4
38
+ with :
39
+ path : blockly-keyboard-experimentation
40
+
31
41
- name : Setup Node
32
42
uses : actions/setup-node@v4
33
43
with :
34
44
node-version : latest
35
45
cache : ' npm'
36
- - run : npm ci
37
- - run : npm run ghpages
46
+
47
+ - name : Build blockly
48
+ run : |
49
+ ls -l
50
+ cd blockly
51
+ npm ci
52
+ cd dist
53
+ npm link
54
+ cd ../..
55
+
56
+ - name : Build blockly-keyboard-experimentation
57
+ run : |
58
+ cd blockly-keyboard-experimentation
59
+ npm ci
60
+ npm link blockly
61
+ npm run ghpages
62
+ cd ..
63
+
38
64
- name : Upload artifact
39
65
uses : actions/upload-pages-artifact@v3
40
66
with :
41
67
# Upload build folder
42
- path : ' ./dist'
68
+ path : ' ./blockly-keyboard-experimentation/dist'
69
+
43
70
deploy :
44
71
environment :
45
72
name : github-pages
You can’t perform that action at this time.
0 commit comments