From 988bf326cab3113f0f138d97d134e23aaa0b97b4 Mon Sep 17 00:00:00 2001 From: Vulae Date: Wed, 8 May 2024 18:05:56 -0500 Subject: [PATCH] fix insert git hash --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cbacc9b..f854525 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,7 +16,7 @@ jobs: uses: actions/checkout@v3 - name: Insert Git Hash - run: git rev-parse --short HEAD | tee -a src/gitinfo.ts <<< "export const HASH = '*'" + run: git rev-parse --short HEAD | awk '{printf("export const HASH = \'%s\'", $0)}' >> src/gitinfo.ts - name: Use Node.js uses: actions/setup-node@v3