Skip to content

Commit 6d28653

Browse files
authored
fix: add formbricks environment variables to workflow files (#709)
1 parent aacb109 commit 6d28653

3 files changed

Lines changed: 14 additions & 0 deletions

File tree

‎.github/workflows/publish_npmjs.yaml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
jobs:
99
publish:
1010
runs-on: ubuntu-latest
11+
12+
env:
13+
REACT_APP_FORMBRICKS_ENV_ID: ${{ secrets.REACT_APP_FORMBRICKS_ENV_ID }}
14+
REACT_APP_FORMBRICKS_APP_URL: ${{ secrets.REACT_APP_FORMBRICKS_APP_URL }}
15+
1116
steps:
1217
- uses: actions/checkout@v2
1318
- uses: actions/setup-node@v1

‎.github/workflows/publish_pages.yaml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99
jobs:
1010
publish:
1111
runs-on: ubuntu-latest
12+
13+
env:
14+
REACT_APP_FORMBRICKS_ENV_ID: ${{ secrets.REACT_APP_FORMBRICKS_ENV_ID }}
15+
REACT_APP_FORMBRICKS_APP_URL: ${{ secrets.REACT_APP_FORMBRICKS_APP_URL }}
16+
1217
steps:
1318
- uses: actions/checkout@v2
1419
- uses: actions/setup-node@v1

‎.github/workflows/tests.yaml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ jobs:
1212
tests:
1313
runs-on: ubuntu-latest
1414

15+
env:
16+
REACT_APP_FORMBRICKS_ENV_ID: ${{ secrets.REACT_APP_FORMBRICKS_ENV_ID }}
17+
REACT_APP_FORMBRICKS_APP_URL: ${{ secrets.REACT_APP_FORMBRICKS_APP_URL }}
18+
1519
strategy:
1620
matrix:
1721
node-version: [18.x]

0 commit comments

Comments
 (0)