Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
PepikVaio committed Jan 9, 2024
1 parent 1651839 commit 25ca426
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 25ca426

Please sign in to comment.