diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index baa75bb0d8f3..628d8890ac5e 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -1,8 +1,8 @@ name: prod -on: +on: push: - branches: - - 'cesium.com' + branches: + - "cesium.com" jobs: lint: runs-on: ubuntu-latest @@ -11,7 +11,7 @@ jobs: - name: install node 22 uses: actions/setup-node@v5 with: - node-version: '22' + node-version: "22" - name: npm install run: npm install - name: lint *.js @@ -36,13 +36,17 @@ jobs: - name: install node 22 uses: actions/setup-node@v5 with: - node-version: '22' + node-version: "22" - name: npm install run: npm install - name: build website release run: npm run website-release - name: build apps run: npm run build-apps + - name: build types + run: npm run build-ts + - name: build prod sandcastle + run: npm run build-prod -w packages/sandcastle -- -l warn - name: deploy to cesium.com if: ${{ env.AWS_ACCESS_KEY_ID != '' }} run: | @@ -51,4 +55,4 @@ jobs: aws s3 sync Build/release/ s3://cesium-website/cesiumjs/releases/$(cat package.json | jq -r '.version' | sed 's/\.0$//')/ --cache-control "public, max-age=1800" --delete aws s3 sync Build/Documentation/ s3://cesium-website/cesiumjs/ref-doc/ --cache-control "public, max-age=1800" --delete aws s3 sync Build/CesiumViewer/ s3://cesium-website/cesiumjs/cesium-viewer/ --cache-control "public, max-age=1800" --delete - aws s3 sync Build/Sandcastle/ s3://cesium-sandcastle-website/ --cache-control "public, max-age=1800" --delete + aws s3 sync Build/Sandcastle2/ s3://cesium-sandcastle-website/ --cache-control "public, max-age=1800" --delete diff --git a/Apps/Sandcastle/index.html b/Apps/Sandcastle/index.html index ce1aa2991fb1..c465042b40ae 100644 --- a/Apps/Sandcastle/index.html +++ b/Apps/Sandcastle/index.html @@ -81,7 +81,7 @@ data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region: 'top'" > - Try the new version of Sandcastle today! diff --git a/CHANGES.md b/CHANGES.md index 0afa5f0dbc30..2a55e3800e91 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,8 @@ ## 1.134 - 2025-10-01 +- [Sandcastle](https://sandcastle.cesium.com/) has been updated at `https://sandcastle.cesium.com`! The [legacy Sandcastle app](https://cesium.com/downloads/cesiumjs/releases/1.134/Apps/Sandcastle/index.html) will remain available through November 3, 2025. + ### @cesium/engine #### Fixes :wrench: diff --git a/gulpfile.js b/gulpfile.js index 3108effc626d..50cddce9cba2 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -447,6 +447,13 @@ export const websiteRelease = gulp.series( node: false, }); }, + function () { + return buildCesium({ + minify: true, + removePragmas: true, + node: false, + }); + }, combineForSandcastle, buildDocs, ); @@ -663,6 +670,7 @@ export const makeZip = gulp.series(release, async function createZipFile() { "!**/*.gitignore", "!Specs/e2e/*-snapshots/**", "!Apps/Sandcastle/gallery/development/**", + "!Apps/Sandcastle2/**", ], { encoding: false, diff --git a/index.html b/index.html index 9c90d4314c53..95d3a3184763 100644 --- a/index.html +++ b/index.html @@ -32,12 +32,11 @@ Hello World