Skip to content

Commit aaf4ace

Browse files
Create update-plain.yml
1 parent b598856 commit aaf4ace

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/update-plain.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Index docs
2+
3+
on:
4+
schedule:
5+
- cron: '0 */3 * * *'
6+
7+
jobs:
8+
index:
9+
name: Index Documents
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version: '22'
16+
17+
- name: Install CLI
18+
run: npm install -g @team-plain/cli@latest
19+
20+
- name: Index Documents
21+
run: plain index-sitemap https://docs.vapi.ai/sitemap.xml --labelTypeIds lt_01G0EZ1XTM37C643SQTDNXR1
22+
env:
23+
PLAIN_API_KEY: ${{ secrets.PLAIN_API_KEY }}

0 commit comments

Comments
 (0)