Skip to content

Commit

Permalink
Update algolia_scraper.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoamui authored Dec 3, 2024
1 parent 076ff47 commit 808baad
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/algolia_scraper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,34 @@ jobs:
runs-on: ubuntu-latest
name: Scraper running
steps:
- uses: actions/[email protected]
- name: 'get changed files'
uses: jitterbit/get-changed-files@v1
id: generate-changed-files
with:
format: space-delimited
token: ${{ secrets.GITHUB_TOKEN }}
- name: Printing
run: |
echo "All:"
echo "${{ steps.generate-changed-files.outputs.all }}"
echo "Added:"
echo "${{ steps.generate-changed-files.outputs.added }}"
echo "Removed:"
echo "${{ steps.generate-changed-files.outputs.removed }}"
echo "Renamed:"
echo "${{ steps.generate-changed-files.outputs.renamed }}"
echo "Modified:"
echo "${{ steps.generate-changed-files.outputs.modified }}"
echo "Added+Modified:"
echo "${{ steps.generate-changed-files.outputs.added_modified }}"
- uses: actions/checkout@v2
- name: Helpcenter Scraper
uses: vtexdocs/devportal-docsearch-action@main
with:
algolia_application_id: '${{ secrets.ALGOLIA_APP_ID }}'
algolia_api_key: ${{ secrets.ALGOLIA_WRITE_KEY }}
file: './configs/scraper_helpcenter.json'
file: './configs/scraper_helpcenter_files.json'
added: '${{ steps.generate-changed-files.outputs.added }}'
updated: '${{ steps.generate-changed-files.outputs.modified }}'
removed: '${{ steps.generate-changed-files.outputs.removed }}'

0 comments on commit 808baad

Please sign in to comment.