Generate API sidebar dynamically from schema with version-aware links #211
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: Preview Cleanup | |
| on: | |
| pull_request: | |
| types: [closed] | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_PREVIEW_API_TOKEN }} | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| cleanup: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup flyctl | |
| uses: superfly/flyctl-actions/setup-flyctl@master | |
| - name: Destroy preview app | |
| run: | | |
| flyctl apps destroy "pr-${{ github.event.number }}-superfly-sprites-docs" \ | |
| --org ${{ vars.FLY_PREVIEW_ORG }} \ | |
| --force || true |