fix: fix PR preview delete #1
Workflow file for this run
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 Preview Cleanup Signal | |
| on: | |
| pull_request: | |
| types: [closed] | |
| jobs: | |
| cleanup-signal: | |
| name: Signal Cleanup | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Save PR number for cleanup | |
| run: | | |
| mkdir -p ./cleanup | |
| echo ${{ github.event.pull_request.number }} > ./cleanup/number | |
| - name: Upload cleanup signal | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 | |
| with: | |
| name: cleanup-signal | |
| path: cleanup/ |