Skip to content

Commit 565d3bb

Browse files
committed
fix(ci): create api directory before copying model files to static output
1 parent 98bd775 commit 565d3bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
run: npm run build-static --workspace=@modelscript/ide
8585
- name: Copy model to IDE static output
8686
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
87-
run: cp -r packages/ide/models packages/ide/dist/static/api/models
87+
run: mkdir -p packages/ide/dist/static/api && cp -r packages/ide/models packages/ide/dist/static/api/models
8888
- name: Deploy IDE
8989
uses: peaceiris/actions-gh-pages@v4
9090
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'

0 commit comments

Comments
 (0)