Skip to content

Commit

Permalink
2024
Browse files Browse the repository at this point in the history
  • Loading branch information
yamader committed Aug 14, 2024
1 parent 8109cfb commit 3b8b23a
Show file tree
Hide file tree
Showing 9 changed files with 2,299 additions and 1,292 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: GitHub Pages

on:
push:
branches: [master]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- run: pnpm i
- run: pnpm build
- uses: actions/upload-pages-artifact@v3
with:
path: dist
deploy:
permissions:
id-token: write
pages: write
needs: build
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- id: deploy
uses: actions/deploy-pages@v4
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"devDependencies": {
"aframe": "1.4.2",
"aframe-extras": "7.0.0",
"mind-ar": "1.2.3",
"tsup": "7.2.0"
"mind-ar": "1.2.5",
"tsup": "8.2.4",
"typescript": "5.5.4"
},
"packageManager": "pnpm@8.6.12",
"packageManager": "pnpm@9.7.0",
"private": true,
"scripts": {
"build": "tsup --minify && cp -r root/* dist/",
"build": "tsup --minify -d dist/ar && cp -r root/* dist/",
"dev": "tsup --watch"
},
"tsup": {
Expand All @@ -19,7 +20,6 @@
"js/ar": "src/ar.js",
"js/led": "src/led.js"
},
"outDir": "dist/2023",
"sourcemap": true,
"splitting": false,
"clean": true,
Expand Down
Loading

0 comments on commit 3b8b23a

Please sign in to comment.