Skip to content

Commit

Permalink
Index docs (#111)
Browse files Browse the repository at this point in the history
* Index docs

* Every 3h

* Update .github/workflows/index.yml

Co-authored-by: Andrew Blaney <[email protected]>

* Update .github/workflows/index.yml

---------

Co-authored-by: Andrew Blaney <[email protected]>
  • Loading branch information
mattvagni and andrewblaney authored Oct 17, 2024
1 parent fc4ee0f commit e5e8de2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Index docs

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

jobs:
lint:
name: Lint
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 Docs
run: plain index-sitemap https://www.plain.com/docs/sitemap.xml
env:
PLAIN_API_KEY: ${{ secrets.PLAIN_API_KEY }}

0 comments on commit e5e8de2

Please sign in to comment.