From 786a070d1775643d518b341f07f0777598143d8b Mon Sep 17 00:00:00 2001 From: Sabrina Date: Fri, 6 Sep 2024 16:10:32 -0400 Subject: [PATCH] fix: fix env var for deploy prod (#211) # Description The env var for the algolia search api key is incorrect, update with the correct var defined in GitHub. --- .env.example | 1 + .github/workflows/deploy-prod.yml | 2 +- README.md | 7 ------- bun.lockb | Bin 873124 -> 873124 bytes package.json | 2 +- 5 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.env.example b/.env.example index 3b3e9303..bcc93238 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,3 @@ # Production license for @nuxt/ui-pro, get one at https://ui.nuxt.com/pro/purchase +# Only required for building the project NUXT_UI_PRO_LICENSE= diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 2e2d48fe..c90c4ec9 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -15,7 +15,7 @@ jobs: build_and_deploy: env: NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }} - ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} + ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_SEARCH_API_KEY }} ALGOLIA_APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }} if: ${{ github.event.repository.full_name == github.repository }} runs-on: ubuntu-latest diff --git a/README.md b/README.md index 76e0d117..745a522d 100644 --- a/README.md +++ b/README.md @@ -102,10 +102,3 @@ If you want to contribute tutorials to our Docs, check out the [Community Code repo](https://github.com/zkSync-Community-Hub/community-code?tab=readme-ov-file#community-code)! Join us in making ZKsync Docs better for everyone! 🌐✨ - -## Issues - -### 'failed to fetch git tree' - -If your bun install fails with 'failed to fetch git tree', this is probably due to the github rate limiting the API -for unauthorized accesses. You either have to wait, change ip address or pass the github authorization token. diff --git a/bun.lockb b/bun.lockb index 5d474de516752b16fc553990a56c22e97c153205..3e89faf6c9783db1c606ea12ba1e1d97d538b28b 100755 GIT binary patch delta 191 zcmZ3o)O5*G(+PSCJGW&WXqms{#{avamdQ)?=Jx%Q*kvuT&}?Fx_XpdCKZhFqTKyQe z`Y}bhPhX+OWYB)Yoe7AUftY3c4R_YF9u67rx?)$~IVBs@=XI(;A$`kn#@!8FR}cU0 zn7!5ei*w`hCu|q^E$=GC_${0A=G2dpzGI2TyBH43w%^_y&L<@Gh^zhS1Xdts17h~= qPbYBjM=+T(Ob@8%@@{v0$pOTiK+Lt>@g?`we~hNv#b5CBW&r@U9$Gd4 delta 191 zcmZ3o)O5*G(+PSCnVIaSWu5PB>KD9p?_{x>&?sM6o1-Dy92?*^TRZQKS)*U8ALCX( zrYQI6EA$u*+Hbfs0WmWWvuwZN&U)6vp+r&l_%i>LTZVhKTker`FTF4A!k?$ma=-jY zGLOt%4#R4}XD{jl4C9Z_`0z(MvAv~GoY`_l=mK+Fcj?AxDC o;NXv7GGUk=P|xMv?)Z`eh&h3nYrEr1?yLV8O}2}_;OWf*08-FX9{>OV diff --git a/package.json b/package.json index 8ccd4558..ebd496a1 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "vue-tsc": "^2.1.6" }, "dependencies": { - "@matterlabs/docs-nuxt-template": "2.8.4", + "@matterlabs/docs-nuxt-template": "2.8.5", "@iconify-json/heroicons": "^1.2.0", "@iconify-json/simple-icons": "^1.2.1", "@iconify-json/vscode-icons": "^1.2.0",