Skip to content

Check for Changes in the docs repo #3

Check for Changes in the docs repo

Check for Changes in the docs repo #3

name: Check for Changes in the docs repo
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
jobs:
run:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Check out docs repo
uses: actions/checkout@master
with:
repository: Kong/docs.konghq.com
token: ${{ secrets.PAT }}
path: './docs'
- name: Run docs changes tracker
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DAYS_TO_CHECK_FOR_DOCS_CHANGES: ${{ vars.DAYS_TO_CHECK_FOR_DOCS_CHANGES }}
DOCS_PATH: './docs'
run: |
npm ci --prefix ./tools/track-docs-changes
node tools/track-docs-changes/index.js