Skip to content

Commit

Permalink
Added GH Workflow Cron (clerk#1677)
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobMGEvans authored Nov 4, 2024
1 parent c89548b commit 4e56390
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 36 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/plain-ingest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Index docs

on:
schedule:
- cron: '0 */3 * * *'

jobs:
lint:
name: Index Documents
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install CLI
run: npm install -g @team-plain/cli@latest

- name: Index Documents
run: plain index-sitemap https://clerk.com/sitemap.xml
env:
PLAIN_API_KEY: ${{ secrets.PLAIN_API_KEY }}
80 changes: 44 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4e56390

Please sign in to comment.