ci: fix nightly prune not working (#1961)

* ci: fix nightly prune not working

This change makes it so we keep the last three nightly runs + prune
anything that was created today.

Tested by just running it manually.

* driveby to only run the ghp deploy on main
This commit is contained in:
Clement Tsang authored and GitHub committed 2026-01-16 02:16:54 -05:00
1 parent 78ae9169e6
commit 72db12304a
2 files changed
+19 -6

No files matched your search

@@ -30,6 +30,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}