Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 32 additions & 6 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,46 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: Checkout blockly
uses: actions/checkout@v4
with:
path: blockly
repository: google/blockly
ref: develop

- name: Checkout blockly-keyboard-experimentation
uses: actions/checkout@v4
with:
path: blockly-keyboard-experimentation

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'npm'
- run: npm ci
- run: npm run ghpages
node-version: 20.x

- name: Build blockly
run: |
cd blockly
npm ci
npm run package
cd dist
npm link
cd ../..
- name: Build blockly-keyboard-experimentation
run: |
cd blockly-keyboard-experimentation
npm ci
npm link blockly
npm run ghpages
cd ..
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload build folder
path: './dist'
path: './blockly-keyboard-experimentation/dist'

deploy:
environment:
name: github-pages
Expand Down
Loading