Skip to content

Commit dd721d6

Browse files
committed
Add debug scripts
1 parent 5c4f0c6 commit dd721d6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,11 @@ jobs:
5050
- name: Run tests 🧪
5151
run: yarn test
5252

53+
- name: Debug 🐛
54+
run: echo GITHUB_SHA=${GITHUB_SHA}
55+
5356
- name: Build 🏗️
54-
run: mv .env.production .env && GITHUB_SHA=${GITHUB_SHA}; yarn generate
57+
run: mv .env.production .env && echo GITHUB_SHA=${GITHUB_SHA} > .env && yarn generate
5558

5659
- name: Deploy 🚀
5760
uses: FirebaseExtended/action-hosting-deploy@v0

web/plugins/axios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function setAuthHeader(token: string | null) {
1414
}
1515

1616
export function setApiKey(apiKey: string | null) {
17-
client.defaults.headers['x-api-key'] = apiKey
17+
client.defaults.headers.common['x-api-key'] = apiKey
1818
}
1919

2020
export default client

0 commit comments

Comments
 (0)