From 2f21e2b453200ac49669c1b677b05ae63cdb9133 Mon Sep 17 00:00:00 2001 From: Vitaly Turovsky Date: Mon, 9 Dec 2024 09:28:14 +0300 Subject: [PATCH] write pr & commit redirect --- .github/workflows/preview.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 701d0968..2001d51d 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -66,6 +66,14 @@ jobs: mkdir -p .vercel/output/static/playground pnpm build-playground cp -r prismarine-viewer/dist/* .vercel/output/static/playground/ + - name: Write pr redirect index.html + run: | + mkdir -p .vercel/output/pr + echo "" > .vercel/output/pr/index.html + - name: Write commit redirect index.html + run: | + mkdir -p .vercel/output/commit + echo "" > .vercel/output/commit/index.html - name: Download Generated Sounds map run: node scripts/downloadSoundsMap.mjs - name: Deploy Project Artifacts to Vercel