Skip to content

Commit 6bb47bd

Browse files
committed
chore(build): Build ghpages against tip-of-develop
1 parent 5e131d9 commit 6bb47bd

File tree

1 file changed

+31
-4
lines changed

1 file changed

+31
-4
lines changed

.github/workflows/pages.yml

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,47 @@ jobs:
2626
build:
2727
runs-on: ubuntu-latest
2828
steps:
29-
- name: Checkout
29+
- name: Checkout blockly
3030
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+
3141
- name: Setup Node
3242
uses: actions/setup-node@v4
3343
with:
3444
node-version: latest
3545
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+
3864
- name: Upload artifact
3965
uses: actions/upload-pages-artifact@v3
4066
with:
4167
# Upload build folder
42-
path: './dist'
68+
path: './blockly-keyboard-experimentation/dist'
69+
4370
deploy:
4471
environment:
4572
name: github-pages

0 commit comments

Comments
 (0)