Skip to content

Commit a5f3d41

Browse files
committed
feat: add PUBLIC_LISTMONK_API_KEY
1 parent b044a04 commit a5f3d41

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/deploy-pages.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ concurrency:
2121
jobs:
2222
build:
2323
runs-on: ubuntu-latest
24+
environment: github-pages
2425
steps:
2526
- name: Checkout repository
2627
uses: actions/checkout@v4
@@ -39,6 +40,9 @@ jobs:
3940
- name: Build project
4041
run: yarn build
4142
working-directory: ./website
43+
env:
44+
NODE_ENV: production
45+
PUBLIC_LISTMONK_API_KEY: ${{ secrets.PUBLIC_LISTMONK_API_KEY }}
4246

4347
- name: Setup Pages
4448
uses: actions/configure-pages@v4

0 commit comments

Comments
 (0)