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
2026-01-16 02:16:54 -05:00
committed by GitHub
parent 78ae9169e6
commit 72db12304a
2 changed files with 19 additions and 6 deletions
@@ -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 }}