Skip to content

Commit 007538e

Browse files
authored
Add workflow file to index docs into Plain (#379)
1 parent a091637 commit 007538e

File tree

1 file changed

+24
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)