Skip to content

Commit e680557

Browse files
authored
Merge pull request #2 from DogeisCut/svelte
Svelte
2 parents 342835c + aa43720 commit e680557

29 files changed

Lines changed: 2282 additions & 5882 deletions

.github/workflows/ci.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Use Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '18'
21+
cache: 'npm'
22+
23+
- name: Install dependencies
24+
run: npm ci
25+
26+
- name: Run build
27+
run: npm run build --if-present
28+
29+
- name: Upload build artifact
30+
uses: actions/upload-artifact@v4
31+
with:
32+
name: site-dist
33+
path: dist
34+
35+
deploy:
36+
needs: build
37+
runs-on: ubuntu-latest
38+
steps:
39+
- name: Checkout
40+
uses: actions/checkout@v4
41+
42+
- name: Download artifact
43+
uses: actions/download-artifact@v4
44+
with:
45+
name: site-dist
46+
47+
- name: Configure Pages
48+
uses: actions/configure-pages@v3
49+
50+
- name: Upload artifact for Pages
51+
uses: actions/upload-pages-artifact@v1
52+
with:
53+
path: ./dist
54+
55+
- name: Deploy to GitHub Pages
56+
uses: actions/deploy-pages@v1

.github/workflows/webpack.yml

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

index.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!doctype html>
2+
<html>
3+
4+
<head>
5+
<meta charset="utf-8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>MarchBlocks</title>
8+
<meta property="og:title" content="MarchBlocks" />
9+
<meta property="og:type" content="website" />
10+
<meta property="og:url" content="https://dogeiscut.github.io/MarchBlocks/" />
11+
<meta property="og:description"
12+
content="A Blockly based web app for creating/modeling raymarched art/scenes using blocks." />
13+
<meta name="theme-color" content="#4C97FF">
14+
<meta name="twitter:card" content="summary_large_image">
15+
</head>
16+
17+
<body>
18+
<script type="module" src="/src/main.ts"></script>
19+
</body>
20+
21+
</html>

0 commit comments

Comments
 (0)