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 }}