Skip to content

Commit

Permalink
test connection with curl
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaiblaga89 committed Apr 10, 2024
1 parent 7f2b9f8 commit 2245e51
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/next.yml
Expand Up @@ -35,9 +35,13 @@ jobs:
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: test curl
run: curl https://docs-next.renative.org/sitemap.xml | head -n 1
- name: Update Algolia index
uses: addnab/docker-run-action@v3
with:
image: algolia/docsearch-scraper
options: --env-file=algolia.env
run: CONFIG='${{ steps.scraper_config.outputs.scraper_config }}' pipenv run python -m src.index
run: |
curl https://docs-next.renative.org/sitemap.xml | head -n 1
CONFIG='${{ steps.scraper_config.outputs.scraper_config }}' pipenv run python -m src.index

0 comments on commit 2245e51

Please sign in to comment.