Skip to content

Commit 9284d9e

Browse files
Merge pull request #202 from pathsim/rewrite-svelte
SvelteFlow rewrite
2 parents fd4a96d + 54353c3 commit 9284d9e

File tree

271 files changed

+34105
-19973
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

271 files changed

+34105
-19973
lines changed

.github/workflows/build-deploy-docs.yml

Lines changed: 0 additions & 58 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 0 additions & 205 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: read
8+
pages: write
9+
id-token: write
10+
11+
concurrency:
12+
group: "pages"
13+
cancel-in-progress: false
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Setup Node
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: 20
26+
cache: 'npm'
27+
28+
- name: Setup Python
29+
uses: actions/setup-python@v5
30+
with:
31+
python-version: '3.11'
32+
33+
- name: Install PathSim
34+
run: pip install pathsim
35+
36+
- name: Install dependencies
37+
run: npm ci
38+
39+
- name: Extract blocks from PathSim
40+
run: npm run extract-all
41+
42+
- name: Build
43+
run: npm run build
44+
45+
- name: Setup Pages
46+
uses: actions/configure-pages@v4
47+
48+
- name: Upload artifact
49+
uses: actions/upload-pages-artifact@v3
50+
with:
51+
path: 'build'
52+
53+
deploy:
54+
environment:
55+
name: github-pages
56+
url: ${{ steps.deployment.outputs.page_url }}
57+
runs-on: ubuntu-latest
58+
needs: build
59+
steps:
60+
- name: Deploy to GitHub Pages
61+
id: deployment
62+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)