Compare commits

..
5 Commits
Author SHA1 Message Date
tresabhi 41418eb8e0 restrict branches 2026-10-22 17:03:05 -05:00
tresabhi 72e358f034 add pr checks 2026-10-22 15:45:04 -05:00
tresabhi 625d8d1595 cleaner logic 2026-10-22 09:13:57 -05:00
tresabhi fc9050e7fe fix imports 2026-10-21 23:23:55 -05:00
tresabhi 654887dd66 versio 2026-10-21 23:06:18 -05:00
3 changed files with 24 additions and 13 deletions

No files matched your search

+14 -6
View File
@@ -2,6 +2,11 @@ name: Website
on:
push:
branches:
- main
- production
pull_request:
schedule:
- cron: "0 4 * * *"
@@ -102,7 +107,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v6
with:
ref: ${{ inputs.branch || 'production' }}
# the PR's ref, or the manual input, or production (selected when cron)
ref: ${{ github.event.pull_request.head.sha || inputs.branch || 'production' }}
submodules: recursive
token: ${{ secrets.GH_TOKEN }}
@@ -139,13 +145,15 @@ jobs:
- name: Trigger deployment
# Deploy if:
# 1. Running cron from main using content from production to target production
# 2. Running manually and targeting non-production
# workflow should trigger if:
# - is by cron and is on main: triggering to production
# - is by push and is on production: triggering to production
# - is by manual and is on anything: triggering to anything
if: >-
${{
github.ref == 'refs/heads/production' ||
(inputs.environment != '' && inputs.environment != 'production')
(github.event_name == 'schedule' && github.ref == 'refs/heads/main')
|| (github.event_name == 'push' && github.ref == 'refs/heads/production')
|| (github.event_name == 'workflow_dispatch')
}}
env:
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "blitzkit",
"version": "1.32.0",
"version": "1.33.0-beta.1",
"license": "BlitzKit License",
"private": true,
"scripts": {
@@ -16,12 +16,15 @@ import { ALL_EXTENSIONS } from "@gltf-transform/extensions";
import { dedup, mergeDocuments, unpartition } from "@gltf-transform/functions";
import type { APIContext } from "astro";
import type { Vector3Tuple, Vector4Tuple } from "three";
import { SKIN_NUMBER } from "../../../../constants/skinNumber";
import { api } from "../../../../core/blitzkit/api";
import { mixStaticPaths } from "../../../../core/blitzkit/mixStaticPaths";
import { vfs } from "../../../../core/blitzkit/vfs";
import { getStaticPaths as _getStaticPaths } from "../../../[...chunk_api]/_index";
import { extractMaterials, extractModel } from "../model.glb";
import { SKIN_NUMBER } from "../../../../../constants/skinNumber";
import { api } from "../../../../../core/blitzkit/api";
import { mixStaticPaths } from "../../../../../core/blitzkit/mixStaticPaths";
import { vfs } from "../../../../../core/blitzkit/vfs";
import {
extractMaterials,
extractModel,
} from "../../../../[...chunk_models_tanks]/[id]/model.glb";
import { getStaticPaths as _getStaticPaths } from "../_index";
const SKIN_NUMBER_SLOTS = 5;
const DIGIT_COLUMNS = 5;