From 25ca4263c61cc198f4d6c131a1fcdfbeb8fc07c1 Mon Sep 17 00:00:00 2001 From: Wajsar Josef <36114753+PepikVaio@users.noreply.github.com> Date: Tue, 9 Jan 2024 23:08:33 +0100 Subject: [PATCH] edit --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8a781a3..9dc43a8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,5 +25,6 @@ jobs: run: npm run deploy env: MY_SECRET_CODE: ${{ secrets.MY_SECRET_CODE }} - NODE_OPTIONS: '--require ./setenv.js' # Přidejte tuto řádku + - name: Set secret in HTML file + run: echo "window.MY_SECRET_CODE='${{ secrets.MY_SECRET_CODE }}';" > ./scripts/setenv.js