| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5c4f0c6 commit dd721d6
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -50,8 +50,11 @@ jobs: | |||
| 50 | 50 | - name: Run tests 🧪 | |
| 51 | 51 | run: yarn test | |
| 52 | 52 | ||
| 53 | + - name: Debug 🐛 | ||
| 54 | + run: echo GITHUB_SHA=${GITHUB_SHA} | ||
| 55 | + | ||
| 53 | 56 | - 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 | ||
| 55 | 58 | ||
| 56 | 59 | - name: Deploy 🚀 | |
| 57 | 60 | uses: FirebaseExtended/action-hosting-deploy@v0 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,7 @@ export function setAuthHeader(token: string | null) { | |||
| 14 | 14 | } | |
| 15 | 15 | ||
| 16 | 16 | export function setApiKey(apiKey: string | null) { | |
| 17 | - client.defaults.headers['x-api-key'] = apiKey | ||
| 17 | + client.defaults.headers.common['x-api-key'] = apiKey | ||
| 18 | 18 | } | |
| 19 | 19 | ||
| 20 | 20 | export default client | |
| Back | FazBrowse Home | New Git URL |
0 commit comments