diff --git a/.github/workflows/next.yml b/.github/workflows/next.yml index e3a42d8..25fd2fd 100644 --- a/.github/workflows/next.yml +++ b/.github/workflows/next.yml @@ -28,15 +28,20 @@ jobs: - 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: BASE_URL=https://docs-next.renative.org vercel build - - name: Deploy Project Artifacts to Vercel + - name: test run: | - url="$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }})" - vercel alias --token=${{ secrets.VERCEL_TOKEN }} --scope=${{ secrets.VERCEL_ORG_ID }} set "$url" docs-next.renative.org - - name: Update Algolia index - uses: addnab/docker-run-action@v3 - with: - image: algolia/docsearch-scraper - options: --env-file=algolia.env - run: pipenv run python -m src.index + ls + ls .vercel + cat .vercel/project.json + # - name: Build Project Artifacts + # 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 }})" + # vercel alias --token=${{ secrets.VERCEL_TOKEN }} --scope=${{ secrets.VERCEL_ORG_ID }} set "$url" docs-next.renative.org + # - name: Update Algolia index + # uses: addnab/docker-run-action@v3 + # with: + # image: algolia/docsearch-scraper + # options: --env-file=algolia.env + # run: pipenv run python -m src.index