Skip to content

Commit

Permalink
fix: fix env var for deploy prod (#211)
Browse files Browse the repository at this point in the history
# Description

The env var for the algolia search api key is incorrect, update with the
correct var defined in GitHub.
  • Loading branch information
itsacoyote authored Sep 6, 2024
1 parent 75cfa38 commit 786a070
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 9 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -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=
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 786a070

Please sign in to comment.