Turn one illustration into an animated 2D mesh avatar with a coding agent and a local editor
Deploy the landing page to GitHub Pages
shinshin863124465b07d6
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex ed2c653..a4eb832 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -40,6 +40,9 @@ jobs:- name: Build runtimerun: npm run build:runtime+ - name: Build landing page+ run: npm run build:site+- name: Check runtime package contentsrun: npm pack --dry-run -w mesh-avatardiff --git a/.github/workflows/pages.yml b/.github/workflows/pages.ymlnew file mode 100644index 0000000..eaa88fb--- /dev/null+++ b/.github/workflows/pages.yml@@ -0,0 +1,55 @@+name: Deploy landing page++on:+ push:+ branches: [main]+ paths:+ - 'site/**'+ - 'docs/images/**'+ - 'packages/runtime/src/**'+ - 'samples/miko-qipao/**'+ - '.github/workflows/pages.yml'+ workflow_dispatch:++permissions:+ contents: read+ pages: write+ id-token: write++concurrency:+ group: pages+ cancel-in-progress: false++jobs:+ deploy:+ runs-on: ubuntu-latest+ environment:+ name: github-pages+ url: ${{ steps.deployment.outputs.page_url }}+ steps:+ - name: Checkout repository+ uses: actions/checkout@v4++ - name: Set up Node.js+ uses: actions/setup-node@v4+ with:+ node-version: '22'+ cache: npm++ - name: Install dependencies+ run: npm ci++ - name: Build landing page+ run: npm run build:site++ - name: Configure Pages+ uses: actions/configure-pages@v5++ - name: Upload landing page+ uses: actions/upload-pages-artifact@v3+ with:+ path: site/dist++ - name: Deploy to GitHub Pages+ id: deployment+ uses: actions/deploy-pages@v5