Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Merge branch 'main' of https://github.com/Sudhanshu-Ambastha/Pokemon-… #81

Merge branch 'main' of https://github.com/Sudhanshu-Ambastha/Pokemon-…

Merge branch 'main' of https://github.com/Sudhanshu-Ambastha/Pokemon-… #81

Workflow file for this run

name: GLB Optimizer
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
process-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Install glTF-Transform CLI
run: npm install --global @gltf-transform/cli
- name: Optimize GLB Models
run: bash scripts/optimize_models.sh
- name: Commit and Push Changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
bash scripts/commit_push.sh