From 5274d2a7b942469998ec4f38834aa021cb05b1d0 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Sat, 28 Oct 2023 01:08:32 +0800 Subject: [PATCH] fix: update inject script exec order --- .github/workflows/deploy-laf.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-laf.yml b/.github/workflows/deploy-laf.yml index cea961f34fb..326adece6b9 100644 --- a/.github/workflows/deploy-laf.yml +++ b/.github/workflows/deploy-laf.yml @@ -5,6 +5,7 @@ on: branches: - master paths: + - ".github/workflows/deploy-laf.yml" - "client/web/**" - "client/shared/**" - "client/packages/design/**" @@ -43,14 +44,14 @@ jobs: - name: Install packages run: pnpm install --frozen-lockfile + - name: Inject Analytics + run: node ./client/web/build/inject-analytics.js + - name: Build step run: cd client/web && pnpm build env: SERVICE_URL: https://tailchat-nightly.moonrailgun.com - - name: Inject Analytics - run: node ./client/web/build/inject-analytics.js - - name: Deploy to laf storage uses: moonrailgun/laf-storage-deploy-action@v1.1 with: