Check for Changes in the docs repo #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |