Skip to content

fix(blog): Fix VPN docker-compose.yaml indentation #66

fix(blog): Fix VPN docker-compose.yaml indentation

fix(blog): Fix VPN docker-compose.yaml indentation #66

name: Run docsearch-scraper
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
scan:
runs-on: ubuntu-latest
steps:
- name: Sleep for 5 minutes
run: sleep 300s
shell: bash
- name: Checkout repo
uses: actions/checkout@v2
- name: Run scraper
env:
APPLICATION_ID: ${{ secrets.APPLICATION_ID }}
API_KEY: ${{ secrets.API_KEY }}
run: |
CONFIG="$(cat docsearch-config.json)"
docker run -i --rm \
-e APPLICATION_ID=$APPLICATION_ID \
-e API_KEY=$API_KEY \
-e CONFIG="${CONFIG}" \
algolia/docsearch-scraper