Skip to content

Commit e1db29f

Browse files
QilongTangclaude
andcommitted
chore: remove tracked build artifacts and add GitHub Pages deployment
- Add .gitignore covering node_modules/, dist/, .DS_Store, editor dirs, and env files - Untrack node_modules/, dist/, and .DS_Store files that were accidentally committed - Add .github/workflows/deploy.yml: runs tests, builds with Vite, deploys to GitHub Pages on every push to master Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b897a9e commit e1db29f

3,274 files changed

Lines changed: 71 additions & 4076326 deletions

File tree

Some content is hidden

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

.github/workflows/deploy.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [master]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: true
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- uses: actions/setup-node@v4
24+
with:
25+
node-version: 20
26+
cache: npm
27+
28+
- name: Install dependencies
29+
run: npm ci
30+
31+
- name: Run tests
32+
run: npm test
33+
34+
- name: Build
35+
run: npm run build
36+
37+
- uses: actions/upload-pages-artifact@v3
38+
with:
39+
path: dist
40+
41+
deploy:
42+
environment:
43+
name: github-pages
44+
url: ${{ steps.deployment.outputs.page_url }}
45+
runs-on: ubuntu-latest
46+
needs: build
47+
steps:
48+
- id: deployment
49+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Build output
5+
dist/
6+
7+
# macOS
8+
.DS_Store
9+
**/.DS_Store
10+
11+
# Editor
12+
.vscode/
13+
.idea/
14+
15+
# Env files
16+
.env
17+
.env.local
18+
.env.*.local
19+
20+
# Logs
21+
*.log
22+
npm-debug.log*

assets/.DS_Store

-6 KB
Binary file not shown.

dist/.DS_Store

-6 KB
Binary file not shown.

dist/assets/dynamo-logo.png

-5.13 KB
Binary file not shown.

dist/assets/index-BZ1ECEXw.js

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

dist/index.html

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

dist/levels/example-level.json

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

node_modules/.DS_Store

-14 KB
Binary file not shown.

node_modules/.bin/esbuild

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)