From a0d6f13e6d602308ada3a4ff946933991d68ae33 Mon Sep 17 00:00:00 2001 From: Matt Vagni Date: Thu, 17 Oct 2024 00:03:02 +0200 Subject: [PATCH] Index docs --- .github/workflows/index.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/index.yml diff --git a/.github/workflows/index.yml b/.github/workflows/index.yml new file mode 100644 index 0000000..82df626 --- /dev/null +++ b/.github/workflows/index.yml @@ -0,0 +1,24 @@ +name: Lint + +on: + schedule: + - cron: "0 */6 * * *" + +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 + + - name: Index Docs + run: plain index-sitemap https://www.plain.com/docs/sitemap.xml + env: + PLAIN_API_KEY: ${{ secrets.PLAIN_API_KEY }}