fix: update inject script exec order

pull/147/merge
moonrailgun 1 year ago
parent ce91a0bd10
commit 5274d2a7b9

@ -5,6 +5,7 @@ on:
branches: branches:
- master - master
paths: paths:
- ".github/workflows/deploy-laf.yml"
- "client/web/**" - "client/web/**"
- "client/shared/**" - "client/shared/**"
- "client/packages/design/**" - "client/packages/design/**"
@ -43,14 +44,14 @@ jobs:
- name: Install packages - name: Install packages
run: pnpm install --frozen-lockfile run: pnpm install --frozen-lockfile
- name: Inject Analytics
run: node ./client/web/build/inject-analytics.js
- name: Build step - name: Build step
run: cd client/web && pnpm build run: cd client/web && pnpm build
env: env:
SERVICE_URL: https://tailchat-nightly.moonrailgun.com SERVICE_URL: https://tailchat-nightly.moonrailgun.com
- name: Inject Analytics
run: node ./client/web/build/inject-analytics.js
- name: Deploy to laf storage - name: Deploy to laf storage
uses: moonrailgun/laf-storage-deploy-action@v1.1 uses: moonrailgun/laf-storage-deploy-action@v1.1
with: with:

Loading…
Cancel
Save