Skip to content

Add Context7 compatible docs (AI-readable docs) #2064

Add Context7 compatible docs (AI-readable docs)

Add Context7 compatible docs (AI-readable docs) #2064

Workflow file for this run

name: Cleanup
on:
pull_request:
types: [closed]
jobs:
docs:
if: github.actor != 'dependabot[bot]' && github.actor != 'lime-opensource'
name: Remove PR docs
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_USERNAME: lime-opensource
GH_TOKEN: ${{ secrets.CREATE_RELEASE }}
CI: true
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
token: ${{ secrets.CREATE_RELEASE }}
- uses: ./.github/actions/set-up-node
- run: npm ci
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "Lime Technologies OSS"
- name: Remove PR docs
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
run: npm run docs:publish -- --remove="PR-$PR_NUMBER"