fix: validator stats categories and count accuracy #26
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_target: | |
| types: [closed] | |
| jobs: | |
| cleanup: | |
| runs-on: ubuntu-latest | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
| steps: | |
| - uses: superfly/flyctl-actions/setup-flyctl@master | |
| - name: Delete preview app | |
| run: | | |
| PREVIEW_APP="yaci-explorer-pr-${{ github.event.pull_request.number }}" | |
| if flyctl apps list | grep -q "$PREVIEW_APP"; then | |
| echo "Deleting preview app: $PREVIEW_APP" | |
| flyctl apps destroy "$PREVIEW_APP" --yes | |
| else | |
| echo "Preview app $PREVIEW_APP does not exist, skipping" | |
| fi |