Skip to content

Commit f453484

Browse files
committed
Fix CI/CD
1 parent 8395ab4 commit f453484

6 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/e2e-api-tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ jobs:
6969

7070
- name: Build
7171
run: pnpm build
72+
env:
73+
QUETZAL_API_KEY: ${{ secrets.QUETZAL_API_KEY }}
7274

7375
- name: Start Docker Compose
7476
run: docker compose -f dependencies.compose.yaml up -d

.github/workflows/lint-and-build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ jobs:
6666

6767
- name: Build
6868
run: pnpm build
69+
env:
70+
QUETZAL_API_KEY: ${{ secrets.QUETZAL_API_KEY }}
6971

7072
- name: Lint
7173
run: pnpm lint

.github/workflows/preview-docs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ jobs:
5656

5757
- name: Build
5858
run: pnpm build
59+
env:
60+
QUETZAL_API_KEY: ${{ secrets.QUETZAL_API_KEY }}
5961

6062
- name: Check API is valid
6163
run: pnpm run fern check

.github/workflows/publish-docs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ jobs:
7474

7575
- name: Build
7676
run: pnpm build
77+
env:
78+
QUETZAL_API_KEY: ${{ secrets.QUETZAL_API_KEY }}
7779

7880
- name: Check API is valid
7981
run: pnpm run fern check

packages/stack/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
QUETZAL_API_KEY=# replace with your Quetzal API Key (can be found on your dashboard https://getquetzal.com/dashboard/settings/project/0)
1+
QUETZAL_API_KEY=QTZL_19JTGKSXUSL2QCLM0FHTLN

packages/stack/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"css-sc:watch": "chokidar --silent './src/generated/tailwind.css' -c 'pnpm run css-sc'",
3333
"override-env-local-for-quetzal": "echo \"\\n$STACK_ENV_LOCAL_PACKAGE_BUILD_OVERRIDE_FOR_QUETZAL\\n\" >> .env.local",
3434
"quetzal": "rimraf quetzal-translations && pnpm run override-env-local-for-quetzal && quetzal-process-translations && tsx ./scripts/merge-quetzal-translations.ts",
35-
"quetzal:watch": "chokidar --silent \"src/**/*\" -i \"src/generated/quetzal-translations.ts\" -c 'pnpm run quetzal || echo Quetzal failed, probably because the API key is missing. We will just ignore it'"
35+
"quetzal:ignore-errors": "pnpm run quetzal || echo Quetzal failed, probably because the API key is missing. We will just ignore it",
36+
"quetzal:watch": "chokidar --silent \"src/**/*\" -i \"src/generated/quetzal-translations.ts\" -c 'pnpm run quetzal:ignore-errors'"
3637
},
3738
"files": [
3839
"README.md",

0 commit comments

Comments
 (0)