Skip to content

Commit

Permalink
shifted base_url, moved config to scraper_config
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaiblaga89 committed Apr 9, 2024
1 parent 98ca1f5 commit 63a47e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/next.yml
Expand Up @@ -21,16 +21,15 @@ jobs:
node-version: '18.x'
- name: test
run: |
export CONFIG=$(cat ./config.next.json | jq -r tostring)
export BASE_URL=https://docs-next.renative.org
echo $CONFIG
export SCRAPER_CONFIG=$(cat ./config.next.json | jq -r tostring)
echo $SCRAPER_CONFIG
- name: Install Vercel CLI
run: npm install --global vercel@latest
- run: rm -rf .vercel
- name: Pull Vercel Environment Information
run: vercel pull --yes --git-branch=release/1.0 --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build
run: BASE_URL=https://docs-next.renative.org vercel build
- name: Deploy Project Artifacts to Vercel
run: |
url="$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }})"
Expand Down
2 changes: 1 addition & 1 deletion algolia.env
@@ -1,5 +1,5 @@
APPLICATION_ID=${ALGOLIA_APPLICATION_ID}
API_KEY=${ALGOLIA_API_KEY}
CONFIG=$(cat ./config.next.json | jq -r tostring)
CONFIG=$SCRAPER_CONFIG


0 comments on commit 63a47e3

Please sign in to comment.