Fix docs baseUrl for GitHub Pages #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PR Cache Cleanup | |
| on: | |
| pull_request: | |
| types: [closed] | |
| permissions: | |
| actions: write | |
| jobs: | |
| cleanup: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Delete PR caches | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| echo "Cleaning caches for PR #${{ github.event.pull_request.number }}" | |
| gh cache list --ref refs/pull/${{ github.event.pull_request.number }}/merge --json id -q '.[].id' | while read id; do | |
| echo "Deleting cache $id" | |
| gh cache delete "$id" || true | |
| done |