From 84dce0941c6509d775b15c8f56b438da673b6b36 Mon Sep 17 00:00:00 2001 From: Vitaly Date: Wed, 4 Dec 2024 23:19:21 +0300 Subject: [PATCH] write build info to all deploys! (cherry picked from commit 4afccbefbdf96beb62fbc2ea0d442d9f7cd1c370) --- .github/workflows/preview.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index ddb386b7d..701d0968c 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -55,6 +55,9 @@ jobs: run: npm install --global vercel - name: Pull Vercel Environment Information run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} + - name: Write Release Info + run: | + echo "{\"latestTag\": \"$(git rev-parse --short $GITHUB_SHA)\"}" > assets/release.json - name: Build Project Artifacts run: vercel build --token=${{ secrets.VERCEL_TOKEN }} - run: pnpm build-storybook